Hunyadi convoked a Diet to Buda, but the barons and the prelates preferred to visit Ladislaus V in Vienna in November. At the Diet of Vienna, Hunyadi renounced the regency, but the King appointed him "captain general of the kingdom" on 30 January 1453. The King even authorized Hunyadi to keep the royal castles and royal revenues that he possessed at that time. Hunyadi also received Beszterce (present-day Bistrița, Romania)a district of the Transylvanian Saxonswith the title "perpetual count" from Ladislaus V, which was the first grant of a hereditary title in the Kingdom of Hungary.