Abu l-Hasan Ali (Arabic: أبو الحسن علي, d. 1485), known as Muley Hacén in Spanish (Muley being derived from Arabic Mawla = "patron", "master"), was king of Granada from 1464 to 1482 and again from 1483 to 1485.
Abu l-Hasan Ali became king in 1464, and he refused to pay tribute to the Castilian king. This started a disastrous war.
He was the father of Muhammad XII (also known as Boabdil), the last king of Granada.