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 II Lambert name for his son was an expression of warming relations between Bolesław I and his stepmother Oda. He organized two devastating invasions to Saxony in 1028 and 1030. Then Mieszko II ran a defensive war against Germany, Bohemia and the Kievan princes. Mieszko II was forced to escape from the country in 1031 after an attack of Yaroslav I the Wise, who installed Mieszko's older half-brother Bezprym onto the Polish throne. Mieszko took refuge in Bohemia, where he was imprisoned by the Duke Oldrich. In 1032 he regained power in one of the three districts, then united the country, making