Abu'l-Hasan Ali ibn Sa'd (Arabic: أبو الحسن علي, romanized: Abū al-Ḥasan ‘Alī ibn Saʿd; d. 1485), known as Muley Hacén in Spanish (Muley being derived from Arabic مولاي mawlāy = "my lord"[1]), was the twenty-first Nasrid ruler of the Emirate of Granada in Spain, from 1464 to 1482 and again from 1483 to 1485.
The son of Sa'd, Abu'l-Hasan Ali became sultan in 1464, and in 1477 he refused to pay tribute to the Crown of Castile.
In 1481 he ordered an invasion to the city of Zahara de la Sierra by surprise, killing and enslaving the unarmed Christian Zaharans.
Abu l-Hasan Ali appears as a character, along with Isabel de Solís, in the novel People of the Book by Geraldine Brooks, and Washington Irving's Tales of the Alhambra.
He is also a subject in one of Naseem Hijazi's novel Shaheen which portrays him as brave and a struggler for justice (mujahid) who is not even ready to pay tribute to Christians which he considers as a form of slavery and his conscience doesn't permit him to do so.