Answer
Ismaili Islam was the main religion of the Fatimid Caliphate, a Shia Muslim dynasty that ruled over North Africa and the Middle East from 909 to 1171 CE. The Fatimids were followers of the Ismaili branch of Shia Islam, which holds that the seventh Imam, Ismail ibn Jafar, was the rightful successor to the Prophet Muhammad.