 50% of the population felt exploited and revolted on several occasions.The peasants of Hunedoara county supported the Revolt of Horea, Cloşca and Crişan in 1784, when they unsuccessfully besieged the nearby fortress of Deva.The castle in Hunedoara gave refuge to the local nobility, and it was its last function as military defense.