Al-Hakam II
Just like the bulk of the Iberian Peninsula, the territory was conquered by the Umayyads in the early 8th century. As part of the Emirate and later Caliphate of Córdoba, it largely constituted a territorial subdivision ("cora") of the former polities centered around Mérida. Following the collapse of the Caliphate in the early 11th century during the so-called Fitna of al-Andalus and its ensuing fragmentation into ephemeral statelets (taifas), the bulk of the territory of current day Extremadura became part of the (First) Taifa of Badajoz ("Baṭalyaws"), centered around the namesake city and founded by Sapur, a "Ṣaqāliba" previously freed by Al-Hakam II.