according to Jan Długosz's chronicle. The nobles from Kraków, Sandomierz and Greater Poland assembled in Kraków in June or July and the "majority of the more sensible" voted for the acceptance of Jogaila's marriage proposal. In the meantime, William's father, Leopold III hurried to Buda in late July 1385, demanding the consummation of the marriage between William and Jadwiga before 16 August. Queen Elizabeth confirmed the previous agreements about the marriage, ordering Vladislaus II of Opole to make preparations for the ceremony. According to canon law, Jadwiga's marriage sacrament could only be completed before her twelfth birthday if the competent prelate testified her precocious maturity. Demetrius, Archbishop of Esztergom, issued the necessary document. William went to Kraków in the first half of August, but his entry to Wawel Castle was barred. Długosz states that Jadwiga and William would only be able to meet in the nearby Franciscan convent. Contemporary or nearly contemporaneous records of the completion of the marriage between William and Jadwiga are contradictory and unclear. The official accounts of the municipal authorities of Kraków record that on 23 August 1385 an amnesty was granted to the prisoners in the city jail on the occasion of the celebration of the Queen's marriage. On the other hand, a contemporary Austrian chronicle, the Continuatio Claustroneubuzgis states that the Poles had tried to murder William before he consummated the marriage. In the next century, Długosz states that William was "removed in a shameful and offensive manner and driven from the castle" after he entered "the Queen's bedchamber"; but the same chronicler also mentions that Jadwiga was well aware that "many people knew she had for a fortnight shared her bed with Duke William and that there had been physical consummation". On the night when William entered the queen's bedchamber, a group of Polish noblemen broke into the castle, forcing William to flee, according to Długosz. After this humiliation, Długosz continues, Jadwiga decided to leave Wawel and join William, but the gate of the castle was locked. She called for "an axe and [tried] to break it open", but Dymitr of Goraj convinced her to return to the castle. Oscar Halecki says that Długosz's narrative "cannot be dismissed as a romantic legend"; Robert I. Frost writes that it is a "tale, almost certainly apocryphal". There is no doubt, however, that William of Austria was forced to leave Poland. In 1386, Leopold III was