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 As a result, in 965 Mieszko I married his daughter Dobrawa (also named "Dobrava", "Doubravka" or "Dąbrówka"). This political Polish-Bohemian alliance is likely to have been initiated by the Polish ruler. It is probable that the marriage was officially arranged in February 965. The next step was the baptism of Mieszko. There are different hypotheses concerning this event. Most often it is assumed that it was a political decision, intended to bring Mieszko's state closer to the Czechs and to facilitate his activities in the Polabian Slavs area. At the same time, the baptism decreased the likelihood of future attacks