The Fatimid Caliphate and the Founding of Cairo
Also called: Fatimid dynasty, al-Azhar
The Ismailis, a branch of the Shia, founded the Fatimid dynasty in North Africa and claimed the caliphate; in 969 they conquered Egypt and built a new capital, Cairo.

The Fatimid state was founded by the Ismaili branch of the Shia, which claimed descent from Fatima, Muhammad’s daughter and Ali’s wife — hence the name. In 909 Ubayd Allah (al-Mahdi) proclaimed himself caliph in Ifriqiya (today’s Tunisia), directly challenging the authority of the Sunni Abbasid caliph.
In 969 the general Jawhar conquered Egypt and founded a new city on the Nile, al-Qahira (“the Victorious” — Cairo), to which Caliph al-Mu’izz moved in 973. The al-Azhar Mosque, built around 970, became a centre of learning and lives on as al-Azhar University. Prospering on trade linking the Mediterranean and the Red Sea, the Fatimids drew the centre of Indian Ocean commerce away from the Persian Gulf towards the Red Sea. They were overthrown by Saladin in 1171.