The Alcazaba is a ninth-century Muslim fortification in Mérida, Spain. Like other historical edifices in the city, it is part of the UNESCO Heritage List.Located near the Roman bridge over the Guadiana river, the Puente Romano, it was built by emir Abd ar-Rahman II of Córdoba in 835 to command the city, which had rebelled in 805.