Mieszko Bolesławowic was facilitated by a deal between Ladislaus I of Hungary and Władysław I Herman. Another version, publicized by a Hungarian chronicler, claims that in 1086 Ladislaus I of Hungary invaded the Kingdom of Poland, took control of Cracow, and installed Mieszko as its ruler. Though there is no direct primary source evidence for this, notes in Cracow almanacs strongly suggest that during the years 1086 - 1089 Mieszko was prince of Cracow. However, sometime during this time he accepted over-lordship of his uncle Wladyslaw I Herman, and gave up his hereditary claim to the crown of Poland in exchange for
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