Al-Hasan ibn al-Qasim Jannun

Al-Hasan ibn al-Qasim Jannun (الحسن الثاني بن القاسم كنون) was the thirteenth and the last Idrisid ruler and sultan of Morocco. He took over after Abu l-Aish Ahmad in 954 until his capture by the Umayyads in 974. He was then exiled to Córdoba, Spain. In 985/985, he returned from Cairo to Morocco with Fatimid support and attempted to regain control but he was defeated that same year by an Ummayad general and was then executed.