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 of Poland took place on this occasion, the information on the return of the accord, acting for the good of the country and release of prisoners indicate that a conflict actually did occur. The marriage with Oda considerably affected the position and prestige of Mieszko, who entered the world of Saxon aristocracy. As a son-in-law of Margrave Dietrich, he gained an ally in one of the most influential politicians of the Holy Roman Empire. As the Margrave was a distant relative of the Emperor, Mieszko became a member of the circle connected to the imperial ruling house. Probably in the early 980s