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 I of Poland Mieszko allied his country with Sweden against Denmark. The alliance was sealed with the marriage of Mieszko's daughter Świętosława with the Swedish king Erik. The content of the treaty is known from the not entirely reliable, but originating directly from the Danish court tradition account given by Adam of Bremen. In this text, probably as a result of confusion, he gives instead of Mieszko's name the name of his son Bolesław: Mieszko decided on the alliance with Sweden probably in order to help protect his possessions in Pomerania from the Danish King Harald Bluetooth and his son Sweyn. They may