Gérgal Castle was built somewhere during the Late Middle Ages during Muslim rule. By 1492 it had fallen into the hands of the Catholic Monarchs; Queen Isabella I of Castile and King Ferdinand II of Aragon. They donated the castle to Alonso de Cárdenas, Grand Master of the Order of Santiago, for outstanding services during the Granada War.
During the 16th century it played an important defensive role against the inland raids of Barbary pirates, who were supported by the remaining Moorish population. In 1568 the Moors rebelled and the Christians in Gérgal were massacred and the Moors held the castle. They were driven out some time later and the castle was destroyed by Christian forces to avoid a repeated use by the Moors. Between 1571 and 1620 all the Moors were expelled from the Iberian mainland. This left the area around Gérgal Castle depopulated and open to banditry.
During the first half of the 17th century Gérgal Castle was rebuilt on the site of the old Muslim fortification to restore order and favor repopulation in the area. In the middle of the 18th century it belonged to Isabel Pacheco Portocarrero, Countesss of Puebla del Maestre and Marchioness of Torre de las Sirgadas. She used it for storing storing grains.
The castle we see today dates back to the rebuilding in the 17th century. Its core is a square crenellated tower with lower round towers at its corners. At its north western facade and attached to one of the corner towers is a semicircular bastion. It is build up out of horizontally laid slabs of slate. The castle is now also equipped with a crenellated outer wall, but this was built by the present owner.
References:Trenčín Castle is relatively large renovated castle, towering on a steep limestone cliff directly above the city of Trenčín. It is a dominant feature not only of Trenčín, but also of the entire Považie region. The castle is a national monument.
History of the castle cliff dates back to the Roman Empire, what is proved by the inscription on the castle cliff proclaiming the victory of Roman legion against Germans in the year 179.
Today’s castle was probably built on the hill-fort. The first proven building on the hill was the Great Moravian rotunda from the 9th century and later there was a stone residential tower, which served to protect the Kingdom of Hungary and the western border. In the late 13th century the castle became a property of Palatine Matúš Csák, who became Mr. of Váh and Tatras.
Matúš Csák of Trenčín built a tower, still known as Matthew’s, which is a dominant determinant of the whole building.