Shajaram
7th–13th centuries

Abbasid Caliphate

From Abbas ibn Abd al-Muttalib through al-Saffah, al-Mansur, Harun al-Rashid and al-Ma'mun to al-Musta'sim, the last caliph of Baghdad

25 generations47 people

The descendants of Abbas, uncle of the Prophet Muhammad (pbuh), overthrew the Umayyads in 750 and took the caliphate. Al-Mansur built Baghdad; the age of Harun al-Rashid and al-Ma'mun saw the House of Wisdom (Bayt al-Hikma) and a golden age of science. The dynasty ruled for 500 years with 37 caliphs, until Hulagu took Baghdad in 1258.

Drag and zoom the tree. Tap a card to read about that person below.

List by generation

Generation 1

Generation 2

Generation 3

Generation 4

Generation 5

Ibrahim al-Imam

? – 749

Leader of the da'wa; died in Umayyad captivity.

Father
Muhammad ibn Ali

Abu al-Abbas al-Saffah

722 – 754Reign: 750–754

First Abbasid caliph (750–754); came to power through the Khorasan uprising led by Abu Muslim.

Father
Muhammad ibn Ali

Abu Ja'far al-Mansur

714 – 775Reign: 754–775

Caliph (754–775), the true builder of the state. Founded Baghdad in 762.

Father
Muhammad ibn Ali
Children
Al-Mahdi

Generation 6

Generation 7

Al-Hadi

764 – 786Reign: 785–786

Caliph (785–786).

Father
Al-Mahdi

Zubaydah bint Ja'far

? – 831

Granddaughter of al-Mansur; built the “Ayn Zubaydah” canal that brought water to Mecca.

Spouse
Harun al-Rashid
Children
Al-Amin

Generation 8

Al-Ma'mun

786 – 833Reign: 813–833

Caliph (813–833). His mother was from Khorasan. Began his rule in Merv; the House of Wisdom translation centre; al-Khwarizmi and al-Farghani worked at his court.

Father
Harun al-Rashid

Generation 9

Generation 10

Al-Muhtadi

? – 870Reign: 869–870

Caliph (869–870).

Father
Al-Wathiq

Al-Muntasir

? – 862Reign: 861–862

Caliph (861–862).

Father
Al-Mutawakkil

Al-Musta'in

836 – 866Reign: 862–866

Caliph (862–866), placed on the throne by Turkic commanders. He fled to Baghdad and was besieged there; in 866 he abdicated in favour of al-Mu'tazz and was killed.

Father
Muhammad ibn al-Mu'tasim

Al-Mu'tazz

? – 869Reign: 866–869

Caliph (866–869).

Father
Al-Mutawakkil

Al-Mu'tamid

? – 892Reign: 870–892

Caliph (870–892); real power lay with his brother al-Muwaffaq.

Father
Al-Mutawakkil

Generation 11

Al-Mu'tadid

? – 902Reign: 892–902

Caliph (892–902); moved the court back from Samarra to Baghdad for good and partly restored the caliphate's power.

Father
Al-Muwaffaq
Children
Al-Muktafi, Al-Muqtadir, Al-Qahir

Generation 12

Al-Qahir

? – 950Reign: 932–934

Caliph (932–934).

Father
Al-Mu'tadid

Generation 13

Al-Radi

? – 940Reign: 934–940

Caliph (934–940); said to be the last caliph to hold real power.

Father
Al-Muqtadir

Al-Muttaqi

? – 968Reign: 940–944

Caliph (940–944).

Father
Al-Muqtadir

Al-Mustakfi

908 – 949Reign: 944–946

Caliph (944–946); in 945 the Buyids took Baghdad, Mu'izz al-Dawla deposed him, and he was then blinded and confined in the palace.

Father
Al-Muktafi

Al-Muti

? – 974Reign: 946–974

Caliph (946–974), under Buyid control.

Father
Al-Muqtadir
Children
Al-Ta'i

Generation 14

Al-Ta'i

? – 1003Reign: 974–991

Caliph (974–991).

Father
Al-Muti

Al-Qadir

947 – 1031Reign: 991–1031

Caliph (991–1031); granted Mahmud of Ghazni the title “Yamin al-Dawla”.

Father
Ishaq ibn al-Muqtadir
Children
Al-Qa'im

Generation 15

Al-Qa'im

1001 – 1075Reign: 1031–1075

Caliph (1031–1075). The Seljuk Tughril Beg entered Baghdad in 1055 and ended Buyid rule.

Father
Al-Qadir
Children
Muhammad Dhakhirat al-Din

Generation 16

Muhammad Dhakhirat al-Din

? – 1056

Heir to the throne; died before his father.

Father
Al-Qa'im
Children
Al-Muqtadi

Generation 17

Generation 18

Generation 19

Al-Muqtafi

1096 – 1160Reign: 1136–1160

Caliph (1136–1160); began restoring independence from the Seljuks.

Father
Al-Mustazhir
Children
Al-Mustanjid

Generation 20

Al-Rashid

? – 1138Reign: 1135–1136

Caliph (1135–1136).

Father
Al-Mustarshid

Generation 21

Generation 22

Al-Nasir li-Din Allah

1158 – 1225Reign: 1180–1225

Caliph (1180–1225), 45 years — the longest reign of any Abbasid caliph. Was in conflict with the Khwarazmshah Muhammad.

Father
Al-Mustadi
Children
Al-Zahir

Generation 23

Generation 24

Al-Mustansir

1192 – 1242Reign: 1226–1242

Caliph (1226–1242); built the Mustansiriya madrasa in Baghdad.

Father
Al-Zahir
Children
Al-Musta'sim

Generation 25

Al-Musta'sim

1213 – 1258Reign: 1242–1258

Last caliph of Baghdad (1242–1258); killed when Hulagu took Baghdad.

Father
Al-Mustansir

Compiled from open historical sources; some dates are approximate. These trees cannot be edited.

Build your own family tree

Record your ancestors, keep family photos and fill in the tree together with your relatives — for free.

Get started free

Other family trees

All family trees