 With her mother's consent, Jadwiga's advisors opened negotiations with Jogaila, Grand Duke of Lithuania, who was still a pagan, concerning his potential marriage to Jadwiga.Jogaila signed the Union of Krewo, pledging to convert to Roman Catholicism and to promote his pagan subjects' conversion.Meanwhile, William hastened to Kraków, hoping to marry his childhood fiancée Jadwiga, but in late August 1385 the Polish nobles expelled him.