To the west of the Yanguas town, on the edge of the cliff, is a limestone castle that controlled the access to the Ebro valley. It is not certain when it was first built and it is possible that it was built when Yanguas received its own town charter. However, the architectonical style suggests that it was built in the 14th century.
Recent restoration works have given the castle back the dignity it deserves to be a heritage site and have made it possible to understand the defensive function of the unique columned and cobbled weapon yard. Another feature that has been restored is the tower on the north-western side.
It has a quadrangular floor plan and towers on each of the corners. On the walls, there are battlement hexes, a chemin de ronde and narrow loophole windows. There are also two gates, one on the west and the other on the east side, that gave access to the 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.