I was thinking what What if Lev I of Galicia was given the Duchy of Krakow by Leszek the Black just like what Przemysl of Greater Poland did with Wenceslaus II, what would happen to Poland? and would Lev I of Galicia gain the Throne of Hungary as well? he does have a claim via his wife.