The Fortress had an essential role in protecting the Hungarian king from the Ottomans and Tartars' invasion, coming from Wallachia through Rucar Pass. That's the reason why the inhabitants of Brasov built the Castle on their own work and expenses.
Iancu de Hunedoara fortified Transylvania's borders and also the towers of the Bran Castle. He made sure the rights of the peasants were respected by the boyars who ruled the fortress. However, there were frequent fights between merchants and boyars.
In 1498 the fortress passed under the merchant's possession and it was used mainly for treading. You should also know that it was a time when in charge of the leadership was a judge called "Judele Brasovului". Responsible for the defense of the castle was the permanent garrison: 2 guards and 10 - 20 archers and ballisters.
The boyars. had the right to collect fees from visitors and peasants. The fortress had an extra income from: selling cheese, milk and muttons and from manufacturing wood. The peasants fought against the aristocracy for several times. In 1514 they refused to take action against Gheorghe Doja.
In the 18th century the fortress was the house of the Austrians frontier guards. In 1836 Bran became the official border and the defense role of the fortress was no longer a priority. In 1920, the Brasov Town council donated Bran Castle to Queen Maria of Great Romania, who lived there with the royal family till 1947. Since 1947 the Castle is opened as a museum.