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 I Tanglefoot to both Mieszko (who received the towns of Racibórz and Cieszyn) and Jarosław (who received Opole). In 1177 Mieszko supported his uncle and namesake Mieszko III the Old when he had to fight to maintain his rule over the Duchy of Kraków; this renewed again the disputes between him and Bolesław I the Tall, who wished to obtain the Duchy and with this the Seniorate. However, Bolesław suffered an unexpected defeat by Mieszko and his own son Jarosław, who distracted him to advance over Kraków; in his place was his younger uncle and ally, Casimir II the Just, who captured