Hafsid dynasty
Muhammad I al-Mustansir (, Abu Abd Allah Muhammad al-Mustansir ibn Yahya; ) was the second ruler of the Hafsid dynasty in Ifriqiya and the first to claim the title of Khalif. Al-Mustansir concluded a peace agreement to end the Eighth Crusade launched by Louis IX of France in 1270. Muhammad I al-Mustansir had been a vassal of the Kingdom of Sicily, but had shaken off his allegiance when King Manfred was overthrown by King Charles I.