 Louis agreed to give Jadwiga in marriage to William of Austria on 4 March 1375.The children's "sponsalia de futuro", or "provisional marriage", was celebrated at Hainburg on 15 June 1378.The ceremony established the legal framework for the consummation of the marriage without any further ecclesiastical act as soon as they both reached the age of maturity.