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:Saint-Émilion is a picturesque medieval village renowned for its well-preserved architecture and vineyards. The town and surrounding vineyards was made a UNESCO World Heritage Site in 1999, owing to its long, living history of wine-making, Romanesque churches and ruins stretching all along steep and narrow streets.
An oppidum was built on the hill overlooking the present-day city in Gaulish times, before the regions was annexed by Augustus in 27 BC. The Romans planted vineyards in what was to become Saint-Émilion as early as the 2nd century. In the 4th century, the Latin poet Ausonius lauded the fruit of the bountiful vine.
Because the region was located on the route of the Camino de Santiago, many monasteries and churches were built during the Middle Ages, and in 1199, while under Plantagenet rule, the town was granted full rights.