List of Abbasid caliphs
Caliphs of Cairo (13 June 1261 – 22 January 1517)
The Cairo Abbasids were largely ceremonial caliphs under the patronage of the Mamluk Sultanate that existed after the takeover of the Ayyubid dynasty.

List of Abbasid caliphs

Section Title: Caliphs of Cairo (13 June 1261 – 22 January 1517)
Table Section Text: The Cairo Abbasids were largely ceremonial caliphs under the patronage of the Mamluk Sultanate that existed after the takeover of the Ayyubid dynasty.

No.	Reign	Regnal Name	Personal Name	Parents	Notes

1.	13 June 1261 – 28 November 1261	al-Mustanṣir bi-llāh	Abū'l-Qāsim Aḥmad	Az-Zahir	Installed as Caliph in Cairo, Egypt by the Mamluk Sultan Baybars in 1261. Title also claimed by al-Hakim I, installed as caliph by the ruler of Aleppo, Aqqush al-Burli

2.	16 November 1262 – 19 January 1302	al-Ḥākim bi-Amri'llāh I	Abū'l-ʿAbbās Aḥmad	Abbasid descent disputed; installed as caliph by ruler of Aleppo, Aqqush al-Burli, in 1261, proclaimed as caliph by Baybars after al-Mustansir II died.

3.	20 January 1302 – February 1340	al-Mustakfī bi-llāh I	Abū ar-Rabīʾ Sulaymān	Al-Hakim I

4.	February 1340 – 17 June 1341	al-Wāthiq bi-'llāh I	Abū ʾIsḥāq ʾIbrāhīm	Muhammad, son of al-Hakim I

5.	1341 – 1352	al-Ḥākim bi-Amri'llāh II	Abū'l-ʿAbbas ʾAḥmad	Al-Mustakfi I

6.	1352 – 1362	al-Muʿtaḍid bi-'llāh I	Abū al-Fatḥ Abū Bakr	Al-Mustakfi I

7.	1362 – 1377	al-Mutawakkil ʿalā'llāh I	Abū ʿAbd Allāh Muḥammad	Al-Mu'tadid I	First reign

8.	1377	al-Mustaʿṣim bi-'llāh	Abū Yaḥya Zakarīyāʾ	Al-Wathiq I	First reign

9.	1377 – 1383	al-Mutawakkil ʿalā'llāh I	Abū ʿAbd Allāh Muḥammad	Second reign

10.	September 1383 – 13 November 1386	al-Wāthiq bi-'llāh II	Abū Ḥafṣ ʿUmar	Al-Wathiq I

11.	1386 – 1389	al-Mustaʿṣim bi-'llāh	Abū Yaḥya Zakarīyāʾ	Second reign

12.	1389 – 9 January 1406	al-Mutawakkil ʿalā'llāh I	Abū ʿAbd Allāh Muḥammad	Third reign

13.	22 January 1406 – 9 March 1414	al-Mustaʿīn bi-'llāh	Abū al-Faḍl al-ʿAbbas	Al-Mutawakkil I Bay Khatun, Turkish concubine	Became Sultan of Egypt from 7 May – 6 November 1412, as a titular figurehead for Shaykh al-Mahmudi.

14.	1414 – 1441	al-Muʿtaḍid bi-'llāh II	Abū al-Fatḥ Dāwud	Al-Mutawakkil I Kazal, Turkish concubine

15.	1441 – 29 January 1451	al-Mustakfī bi-llāh II	Abū al-Rabīʿ Sulaymān	Al-Mutawakkil I Bay Khatun

16.	1451 – 1455	al-Qāʾim bi-ʾamr Allāh	Abū al-Baqāʾ Ḥamza	Al-Mutawakkil I Bay Khatun

17.	1455 – 7 April 1479	al-Mustanjid bi-'llāh	Abū al-Maḥāsin Yūsuf	Al-Mutawakkil I Bay Khatun

18.	5 April 1479 – 27 September 1497	al-Mutawakkil ʿalā'llāh II	Abū al-ʿIzz ʿAbd al-ʿAzīz	Ya'qub bin Al-Mutawakkil I Haj al-Malik

19.	1497 – 1508	al-Mustamsik bi-'llāh	Abū al-Ṣabr Yaqūb	Al-Mutawakkil II	First reign

20.	1508 – 1516	al-Mutawakkil ʿalā'llāh III	Muḥammad	First reign

21.	1516 – 1517	al-Mustamsik bi-'llāh	Abū al-Ṣabr Yaqūb	Second reign

22.	1517	al-Mutawakkil ʿalā'llāh III	Muḥammad	Second reign He formally surrendered the title of caliph as well as its outward emblems—the sword and mantle of Muhammad—to Ottoman Sultan Selim I in 1517, making him the last caliph from Abbasid dynasty and the Banu Quraysh.

Sentence(s)

Al-Qa'im was an Abbasid Caliph of Cairo for the Mamluk Sultanate between 1451 and 1455.

final_sentence: Al-Qa'im was an Abbasid Caliph of Cairo for the Mamluk Sultanate between 1451 and 1455.