The Fortress of Vélez-Málaga originated in the 10th century as an Islamic stronghold designed to control the surrounding territory. During the 14th and 15th centuries, successive expansions transformed it into a significant stronghold within the Nasrid Kingdom of Granada. King Ferdinand conquered the fortress in 1487, after which it evolved from military defense to serve as a royal residence and seat of the general captaincy. The architecture blends Moorish and Christian influences, featuring distinctive rammed-earth construction called tapial, combining lime and sand in compacted layers. Today's surviving elements include the Puerta Real and Torre del Homenaje tower, both restored in the 1970s to preserve this important historical monument.