The Cartama Castle is located in the Monte de la Virgen (Mount of the Virgin), where the Hermitage of Nuestra Señora de los Remedios is also located and where it is possible to be enjoyed some impressive panoramic views. Cártama Castle was built by the Moors in the early Middle Ages. During the Mozarabic revolt of Omar ibn Hafsun, between 881 and 914 AD, Cártama stayed loyal to the Caliphate of Córdoba and the castle was strengthened.
Because of the advancing Christian troops Cártama Castle was again strengthened during the 14th century. By that time the castle would probably have had a double curtain wall and several towers. In 1485 however, the castle was taken by Christians troops. Because the castle was important for their siege against the city of Málaga the Catholic Monarchs invested large sums of money in maintaining the castle between 1485 and 1487. From 1491 on the castle lost its strategic importance and the castle was used as a quarry by the locals.
What you can see today are the scarce remains of a rectangular alcazaba with its surrounding walls and a cistern.
References:The Broch of Clickimin is a large and well preserved, though somewhat restored broch near Lerwick. Originally built on an island in Clickimin Loch (now increased in size by silting and drainage), it was approached by a stone causeway. The water-level in the loch was reduced in 1874, leaving the broch high and dry. The broch is situated within a walled enclosure and, unusually for brochs, features a large 'blockhouse' between the opening in the enclosure and the broch itself. Another unusual feature is a stone slab featuring sculptured footprints, located in the causeway which approached the site. Situated across the loch is the Clickimin Leisure Centre.