Photo: CARLOS TEIXIDOR CADENAS, CC BY 4.0 via Wikimedia Commons
This Moorish citadel was built in the 9th century, though what you see now is the 12th century Almohad fortifications. It's walled, with 8 towers: greatest of these is the 30 m Torre de Espantaperros - "scare-dogs tower", named for the effect of its bell on the dogs lazing in the plaza below. After the Almohads were ousted the citadel's mosque became the cathedral until St John's was built. The ducal palace La Galera has been city hall then a prison and now houses the Archaeological Museum, with finds from the Visigoth, Roman, and other periods. A large section of the citadel is occupied by Jardines de la Galera - the name indicated "gallows" as condemned prisoners were permitted to exercise here.
The Alcazaba of Badajoz is an ancient Moorish citadel in Badajoz, Extremadura, western Spain. The alcazaba, as it now appears, was built by the Almohads in the 12th century, although it probably existed from the 9th century, when Badajoz was founded. In the 11th and 12th centuries, it was the residence of the taifa of Badajoz rulers.
Fun interactive museum with costumes and other effects from the city carnival.