The Hungarian-Polish union fell apart after Louis died in 1382. The dissatisfied Polish "szlachta" demanded that his successor in Hungary, Mary, move to Kraków and reign over Hungary and Poland from there. Mary's mother, Elizabeth of Bosnia (widow of Louis and grandniece of Casimir III's father, Vladislaus I), knew that the lack of supporters would render her influence at least as restricted as that of her mother-in-law and refused to move. She abandoned the idea of attempting to subdue the Polish nobility by force and agreed to send her younger surviving daughter, Hedwig, to be crowned as Louis' successor in Poland.