Mieszko I of Poland elders, and limited their authority. Clergy who arrived in the country contributed to the development of education and culture, and of the state administration and diplomacy, as well. At the end of Mieszko's reign (ca. 990), Poland began to pay tribute to the pope (Peter's Pence). However, the conversion of the Polish population to Catholicism was a long-term process, and was not completed during the reign of Mieszko I. The duke probably had to deal with rebellions led by the old pagan priest caste. In some villages, the old Slavic beliefs and customs were continued until the 16th century. After
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