The Alcazaba is a palace fortification in Málaga built by the Hammudid dynasty in the early 11th century.
This is the best-preserved alcazaba in Spain and according to architect restorer, Leopoldo Torres Balbás, it is the prototype for military architecture during the Taifa period, with its double walls and massive entry fortifications. Its only parallel is the castle of Krak des Chevaliers in Syria.
Adjacent to the entrance of the Alcazaba are remnants of a Roman theater dating to the 1st century BC. Many of the Roman-era materials were reused by the Moorish during construction of the Alcazaba. The Alcazaba is built on a hill in the center of the city, overlooking the port. It was formerly connected to the city ramparts which formed a third defensive wall but only two inner walls remain. The first, built around the topography of the hill, completely encloses the second inner area and is dotted with defensive towers. Inside the second wall is the Palace and some other dwellings which were built on three consecutive Andalusian patios during the 11th, 13th and 14th centuries.
Ferdinand and Isabella captured Mālaga from the Moors after the Siege of Málaga (1487), one of the longest sieges in the Reconquista, and raised their flag at the “Torre del Homenaje” in the inner citadel.