 Hunedoara received town privileges in 1448 from the King of Hungary.John Hunyadi consolidated the citadel on top of an ancient fortress, creating the two main halls, for Diet and Knights.A Franciscan abbey was built nearby the castle in 1448 and John of Capistrano, a famous Italian monk, was sent by the Pope to organize a crusade against the Turks, and lived in the castle.