Matrera Castle was built in the 9th century by Omar ibn Hafsún to defend Iptuci, the most advanced city of the Cora de Ronda. However, Mount Pajarete was a place of human settlement since Antiquity.
In the 13th century, it was conquered by San Fernando, who rebuilt it. Nevertheless, at the beginning of the XIV century, it returned to Muslim hands, being definitively reconquered by Alfonso XI in 1341. However, being located in the middle of the Moorish Border or Band was besieged by the Muslims of Granada in 1408 and in 1445.
By 2010, only a few walls of the castle remained standing, and the ruins were further damaged by rain in 2013. A restoration project was launched in 2010 and completed in 2015. Parts of the tower were rebuilt with lime plaster similar to samples found on the site, with large, plain blocks defining the original shape of the castle.
References:Sigmaringen Castle was first mentioned in the year 1077 in the chronicles of Petershausen monastery. The oldest parts of the castle are concealed beneath the alterations made during the 17th and the 19th centuries. The secret of the earliest settlement built on this defendable rock will never be fully revealed: large-scale excavation work would be necessary, which the extensive land development renders impossible. Judging from the many Roman remains unearthed in the area around Sigmaringen, the 12th century keep known as the 'Roman Tower' could be traced back to a Roman predecessor.
The castle remains that have been preserved (gate, great hall and keep) date back to the Staufer period around 1200. The castle remains were integrated into subsequent buildings. The foundations of the castle buildings are to a large extent identical to the surrounding castle wall.
These remains give us a good idea of how the castle might have looked during the 12th century.