Ali ibn Hammud al-Nasir

Ali ibn Hammud al-Nasir (Arabic: علي بن حمود الناصر, romanized: al-nāṣir ʿalī ben ḥammūd) (d. 22 March 1018) was the sixth Caliph of Córdoba from 1016 until his death.

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.

Ali was elected caliph, adopting the title (laqab) of al-Nasir li-din Allah ("Defender of the Religion of God").

Initially the population welcomed him for his impartiality; however, later, both his severity and the appearance of a ruler from the previous ruling dynasty of the Umayyads, Abd ar-Rahman IV, made him unpopular, among with the existence of a complot made against him from the berber population mostly which he noticed that ended with cruel and aggressive actions ruining his own reign and he was assassinated on 22 March 1018.

Abd ar-Rahman was elected caliph, but he was in turn ousted by Ali's brother, al-Qasim al-Ma'mun, governor of Seville.