Tarifa Castle was built in 960 by the Abd-ar-Rahman III, Caliph of Córdoba. When Tarifa was taken over by the king of Castile, Sancho IV in 1292, the castle was handed over to Alonso Pérez de Guzmán for its defense. Pérez de Guzmán get the nickname of 'Good' (el Bueno) by refusing to hand over the castle in 1296 to the besieging forces of the Infante Don Juan, the rebellious brother of the king Sancho, and the Marinids, in exchange for the life of his son.
Due to the castle's irregular oblong shape, some believe it was built on the remains of a Roman fort. To the east, two high towers protect the castle - one is called Torre de Guzman El Bueno; the order for the Moors to kill Guzman's son was given from here. Outside the castle you can see a statue of the king who first reconquered the town from the Moors in 1292, Sancho IV. There's a statue of Guzman himself just over the road on the Alameda.
Recently refurbished, the castle is open to visitors. The coast and mountains of Morocco are visible from its towers.References:
The castle of La Iruela, small but astonishing, is located on the top of a steep crag in Sierra de Cazorla, Segura y Las Villas Natural Park. From the castle, impressive views of the surrounding area and of the town can be enjoyed.
The keep dates from the Christian era. It has a square base and small dimensions and is located at the highest part of the crag.
There are some other enclosures within the tower that create a small alcázar which is difficult to access.
In a lower area of the castle, protected with defensive remains of rammed earth and irregular masonry, is an old Muslim farmstead.
After a recent restoration, an open-air theater has been built on La Iruela castle enclosure. This theater is a tribute to the Greek and Classic Eras and holds various artistic and cultural shows throughout the year.
The first traces of human activity in La Iruela area are dated from the Copper Age. An intense occupation continued until the Bronze Age.
Originally, La Iruela (like Cazorla) was a modest farmstead. From the 11th century, a wall and a small fortress were built on the hill to protect the farmers.
Around 1231, don Rodrigo Ximénez de Rada, Archbishop of Toledo, conquered La Iruela and made it part of the Adelantamiento de Cazorla. Over the Muslim fortress, the current fortress was built.
Once the military use of the fortress ended, it was used as cemetery.