The first evidence that exists of the original structure and seed of Basílica Menor de la Sacra Iglesia Parroquial de San Ildefonso dates back to 1248, when it was created as a chapel for serving the Cathedral. Two centuries later, in 1430, it became the scene of a famous miraculous event: the descent of the Virgin Mary to the city of Jaén. After this event, the building became a shrine dedicated to the Virgin of the Chapel and homage was paid to the image of her found inside it. In the sixteenth century, the Virgin of the Chapel was named patron saint of Jaén.
The church comprises three doorways: the oldest, in Gothic style, is at the back of the church. The side doorway, in Renaissance style, has a relief of San Idelfonso receiving the mass vestments from Mary. The last to be built was the main doorway, in Neoclassical style, which is crowned by an image of the Saint who the building is named after. The remains of the famous architect and stonemason, Andrés de Vandelvira, are buried here.
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.