Ali ibn Muhammad

Ali bin Muhammad bin Idris (علي بن محمد بن إدريس) was the fourth Idrisid sultan of Morocco.

Life
Ali was the son of Muhammad ibn Idris, whom he succeeded in March/April 836 at the age of nine. During his infancy, the chieftains of the Berber tribes acted as his regents. He proved an able ruler, who managed to stabilize and pacify the Idrisid realm after the troubled reign of his father. During his reign, Idrisid authority was strengthened and stretched from Basra to Tudgha. Some Idrisid troops reportedly also participated in the 846 Sack of Rome by Aghlabid raiders.

Ali died in January 849 at Fes and was succeeded by his brother Yahya I.