 Louis confirmed his promise in a deed in June 1373.Mary and Sigismund were closely related, because her paternal grandmother, Elizabeth of Poland, was the sister of his great-grandfather, Casimir III of Poland.Pope Gregory XI issued the dispensation necessary for their marriage on 6December 1374.