Ibn Tumart
The Hafsid dynasty (1230–1574) succeeded Almohad rule in Ifriqiya, with the Hafsids claiming to represent the true spiritual heritage of its founder, the Mahdi Ibn Tumart (c.1077–1130). Under the Hafsids, Tunisia would eventually regain for a time cultural primacy in the Maghrib.