The Gvozdansko Castle was probably built in the second half of the 15th century, due to mining rights of Croatian Zrinski noble family. The castle was first mentioned in 1488. Nikola III Zrinski and his son Nikola Šubić Zrinski frequently came to Gvozdansko in order to inspect the mines and the mint.
The Turks attempted to conquer the Gvozdansko Castle on several occasions. Three major attempts were made in 1561 by Malkoč-beg, in 1574 by Ferhad-beg, and in 1576 by Kapidži-pasha. The final siege by Ferhat-paša Sokolović with 10,000 soldiers, which was fought from 3 October 1577 to 13 January 1578, was much better prepared. That Siege of Gvozdansko ended with an Ottoman victory, after long and bloody siege. Ottomans managed to break into castle only after last defenders froze to death in harsh winter, having no wood or anything else to light the fire, on 13 January 1578.
Ottoman rule in Gvozansko lasted until 1718. Ottoman commander was stunned by the brave Croatian defenders, after witnessing frozen bodies of defenders still holding their muskets on combat positions in the ruined castle.
References:The Château de Foix dominates the town of Foix. An important tourist site, it is known as a centre of the Cathars. Built on an older 7th-century fortification, the castle is known from 987. In 1002, it was mentioned in the will of Roger I, Count of Carcassonne, who bequeathed the fortress to his youngest child, Bernard. In effect, the family ruling over the region were installed here which allowed them to control access to the upper Ariège valley and to keep surveillance from this strategic point over the lower land, protected behind impregnable walls.
In 1034, the castle became capital of the County of Foix and played a decisive role in medieval military history. During the two following centuries, the castle was home to Counts with shining personalities who became the soul of the Occitan resistance during the crusade against the Albigensians.