The caliphates
The Rashidun, Umayyad, Abbasid, Fatimid, Córdoba and Ottoman caliphates: what the title meant, how it passed, and how it ended.
Khalifa means successor. The first caliphs were the successors of the Prophet as leaders of the community — not as prophets, which no one could be — and the title stayed in use for thirteen centuries, held by men of very different kinds.
The two understandings
The Sunni understanding is that the caliph is chosen by the community, or by those with standing in it, and that the first four — Abu Bakr, Umar, Uthman and Ali — were rightly guided (rashidun) in a way their successors were not.
The Shia understanding is that leadership after the Prophet belonged to Ali and then to the Imams of his line by designation, so that the title of caliph as it was held by others is not the office that matters. The Ismaili Fatimids, who did take the title, are the exception that proves how differently the office was understood.
The line
Medina, 632–661. Abu Bakr, Umar, Uthman and Ali. Three of the four died by assassination, and the civil war after Uthman's death is the origin of divisions that are still with us.
Damascus, 661–750. The Umayyads made the office hereditary and the state an empire reaching from al-Andalus to the Indus. They fell to the Abbasids in 750; one prince escaped to Córdoba.
Baghdad, 750–1258. The Abbasids founded Baghdad and presided over the age of the translation movement and of the founders of the schools of law. From the tenth century real power passed to others — the Buyids, then the Seljuks — and the caliph became a source of legitimacy more than a ruler. The Mongols killed the last caliph in Baghdad in 1258.
Cairo, 1261–1517. The Mamluks installed a surviving Abbasid in Cairo, and a line of Abbasid caliphs lived there under their protection until the Ottoman conquest of Egypt.
Rivals: Cairo and Córdoba. The Fatimids claimed the caliphate from 909, as Ismailis, and ruled from Cairo after 973; Saladin ended them in 1171. In Córdoba, Abd al-Rahman III took the title in 929, and the caliphate there broke apart in 1031. Around the year 1000, three men held the title at once.
Istanbul. The Ottoman sultans used the title increasingly after 1517, and in the nineteenth century stressed it to Muslims beyond their borders. The Turkish Grand National Assembly abolished the sultanate in 1922 and the caliphate on 3 March 1924.
After 1924
A caliphate congress met in Cairo in 1926 and agreed on nothing. Since then the title has been claimed by movements rather than recognised states, and no claim has been accepted by the scholarly bodies of the main schools. This page reports that as a fact of history; whether and how a caliphate should exist is a political and religious question it does not argue.
The timeline draws every caliphate named here, darker than the states around it, on the same line.
This page describes what the schools of law hold, with the source of each. It is not a fatwa. For your own case, ask a qualified scholar or your local imam.