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 probably closer to the latter date. Due to the lack of sources it is not possible to determine exactly which lands he inherited. Certainly among them were the areas inhabited by the Polans and Goplans, as well as the Sieradz-Łęczyca lands and Kuyavia. It is possible that this state included also Masovia and Gdańsk Pomerania. Soon the new ruler had faced the task of integrating the relatively large, ethnically and culturally heterogeneous territory. Although the residents of areas controlled by Mieszko spoke mostly one language, had similar beliefs and reached a similar level of economic and general development, they were