Casimir I the Restorer not supported by modern historians. Regardless, he left church work for good in 1031. Casimir's father, Mieszko II, was crowned King of Poland in 1025 after the death of his father Bolesław I the Brave. However, the powerful magnates of the country feared a strong central government like the one that existed under Bolesław I's rule. This led to considerable friction between the King and the nobility. Taking advantage of the King's precarious situation, Mieszko II's older half-brother Bezprym and younger brother Otto turned against him and allied themselves with the Holy Roman Emperor Conrad II, whose forces attacked Poland
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