 In Ismāʿīlī eyes this act again united the Imamate and the Caliphate in one person.The Fatimids then extended up to the central Maghreb (now including Morocco, Algeria and Libya).They entered and conquered Egypt in 969 CE during the reign of the fourteenth Imam, al-Mu'izz li-Din Allah, and made Cairo their capital.