Schlacht bei Warna
In 1445, the Diet elected seven Captains General (, ) in order to govern the kingdom during the absence of King Vladislaus I (who actually had fallen in the Battle of Varna). In 1446, the assembly of the Estates proclaimed John Hunyadi to Regent and he was to govern the realm in cooperation with the Estates until 1453 when King Ladislaus V returned to the kingdom.