Ladislaus I of Hungary
Following the death of his father in 1081, Mieszko remained in Hungary until 1086 when he is known to have returned to his homeland. There are two conflicting versions explaining the circumstances of this return. Chronicler Gallus Anonymus simply states that Mieszko was peacefully summoned to Poland by his uncle Władysław I Herman. It is likely that this 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.