The year was 1385, and the young Jadwiga (also known as Hedwig) (1373/1374–1399) was just twelve years old. Fatherless, and separated from her mother, she sought divine guidance to lead her toward the correct choice. Should she marry her first betrothed, William of Hapsburg, or should she wed the much older Jogaila, the Grand Duke of Lithuania?
https://daily.jstor.org/the-marriage-myths-of-jadwiga-of-poland/