Mieszko I Tanglefoot the city and was proclaimed the new High Duke of Poland. Mieszko III the Old found himself in exile in Racibórz and it seemed that the war between Mieszko Tanglefoot and Casimir II the Just was now just a matter of time. Casimir II, however, went a different route and, in order to gain the favor of the Duke of Racibórz given him the towns of Oświęcim and Bytom (with the fortress of Oświęcim, Bytom, Mikołów, Siewierz and Pszczyna, although some historians estimate that these fortress had belonged to Mieszko only since 1179). On the other hand, Bolesław the Tall
Mieszko I, Duke of Cieszyn shelter to the Bishop in Raciborz. His politics against Henry IV were reinforced when the Duke of Wrocław repudiated his wife Constance —sister of Mieszko— and sent her back to her homeland. Another consequence of Mieszko's politics was an armed expedition of Henry IV in 1287 against Racibórz, who was sieged. Then Mieszko was forced to refuse his help to the Bishop. In 1290 the division was made of the Duchy of Racibórz: Przemysław retained Racibórz and Mieszko obtained the rule over the districts of Cieszyn, Oświęcim and Zator. The first time that he signed himself as Duke of Cieszyn