هشام المؤيد بالله
He was named governor of Ceuta after 1013 by caliph Sulayman ibn al-Hakam. Taking advantage of the anarchy then existing in the reign, he conquered Tangiers, also in Africa, then, after occupying the Iberian port of Algeciras, he moved to Málaga. After also conquering the latter, he moved with his North African army to the capital, Córdoba, capturing it on 1 July 1016. Caliph Suleyman was first imprisoned and then beheaded, when news arrived of the death of the former caliph, Hisham II al-Hakam.