Castillo de Luna dominates the elevated escarpment above the Corbones River in La Puebla de Cazalla, representing millennia of defensive architecture. Originally fortified by Ibero-Turdetans around the 5th century BC, the site evolved through Carthaginian and Roman periods before becoming an Almohad fortress during Islamic rule. After Ferdinand III's reconquest in the 13th century, the castle served as a crucial defensive post against Muslim incursions from the Ronda mountains, remaining in military use throughout the Granada War until 1492. Declared a Cultural Heritage Monument in 1985, the fortress stands as a testament to the region's complex medieval history.