A caliphate or khilāfah (, ) is an institution or public office under the leadership of an Islamic steward with the title of caliph (; , ), a person considered a political-religious successor to the Islamic prophet Muhammad and a leader of the entire Muslim world (ummah). Historically, the caliphates were polities based on Islam which developed into multi-ethnic trans-national empires. During the medieval period, three major caliphates succeeded each other: the Rashidun Caliphate (632–661), the Umayyad Caliphate (661–750), and the Abbasid Caliphate (750–1258). In the fourth major caliphate, the Ottoman Caliphate, the rulers of the Ottoman Empire claimed caliphal authority from 1517. Throughout the history of Islam, a few other Muslim states, almost all hereditary monarchies such as the Mamluk Sultanate (Cairo) and Ayyubid Caliphate, have claimed to be caliphates. The first caliphate, the Rashidun Caliphate, was established in 632 immediately after Muhammad's death. It was followed by the Umayyad Caliphate and the Abbasid Caliphate. The last caliphate, the Ottoman Caliphate, existed until it was abolished in 1924 by the Turkish Republic. Not all Muslim states have had caliphates, and only a minority of Muslims recognise any particular caliph as legitimate in the first place. The Sunni branch of Islam stipulates that, as a head of state, a caliph should be elected by Muslims or their representatives. Followers of Shia Islam, however, believe a caliph should be an Imam chosen by God from the Ahl al-Bayt (the "Household of the Prophet"). In the early 21st century, following the failure of the Arab Spring and related protests, some have argued for a return to the concept of a caliphate to better unify Muslims. The caliphate system was abolished in Turkey in 1924 during the secularisation of Turkey as part of Atatürk's Reforms. Etymology Before the advent of Islam, Arabian monarchs traditionally used the title malik (King, ruler), or another from the same root. The term caliph (), derives from the Arabic word (, ), which means "successor", "steward", or "deputy" and has traditionally been considered a shortening of Khalīfat Rasūl Allāh ("successor of the messenger of God"). However, studies of pre-Islamic texts suggest that the original meaning of the phrase was "successor selected by God". History Rashidun Caliphate (632–661) Succession to Muhammad In the immediate aftermath of the death of Muhammad, a gathering of the Ansar (natives of Medina) took place in the Saqifah (courtyard) of the Banu Sa'ida clan.