Shajaram
4th–10th centuries

Afrighids — the Ancient Khwarazmshahs

From Afrigh to Arsamukh, Azkajwar II, Abdallah who embraced Islam, and Abu Abdallah Muhammad, the last Afrighid, overthrown in 995

22 generations22 people

Rulers of Khwarazm in the pre-Islamic and early Islamic periods (305–995). The list of the dynasty is known from Abu Rayhan al-Biruni's “The Chronology of Ancient Nations” (al-Athar al-Baqiya): in 305 Afrigh built the fortress of Fir in the city of Kath, and Arsamukh lived approximately in the time of the Prophet Muhammad (pbuh); in 712 Qutayba ibn Muslim conquered Khwarazm, taking advantage of the feud between Azkajwar II and his brother Khurrazadh; the first Khwarazmshah to embrace Islam was Abdallah, who ruled in the early ninth century. The dynasty continued to rule in Kath under the Samanids and was brought to an end in 995 by Ma'mun ibn Muhammad, the emir of Gurganj. Dates follow al-Biruni's list and are approximate; the succession of rulers is shown as father to son. Coins also bear the names of other rulers absent from al-Biruni's list.

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

List by generation

Generation 1

Afrigh

Reign: from 305

According to al-Biruni, he founded a new branch of the Siyavushids; he built the fortress of Fir in the city of Kath (305).

Children
Baghra

Generation 2

Generation 3

Generation 4

Generation 5

Generation 6

Generation 7

Generation 8

Generation 9

Generation 10

Arsamukh

Reign: seventh century

Ruled approximately in the time of the Prophet Muhammad (pbuh) (late sixth – seventh century); his existence is confirmed by Khwarazmian coins.

Father
Buzgar
Children
Sahr II

Generation 11

Generation 12

Generation 13

Azkajwar II

Reign: late seventh century – 712

During his civil war with his brother Khurrazadh, Qutayba ibn Muslim conquered Khwarazm in 712; Azkajwar II was killed in these events.

Father
Sabri
Children
Askajamuk II

Generation 14

Askajamuk II

Reign: from 712

According to al-Biruni, Qutayba's second subjugation of Khwarazm took place in the reign of this shah.

Father
Azkajwar II
Children
Shawshafar

Generation 15

Shawshafar

Reign: mid-eighth century

In 751 he sent an embassy to the Chinese (Tang) court.

Father
Askajamuk II
Children
Turksabas

Generation 16

Generation 17

Abdallah

Reign: late eighth century – 820s

The first Afrighid Khwarazmshah to embrace Islam; known on coins as “Azkajwar-Abdallah”.

Father
Turksabas
Children
Mansur ibn Abdallah

Generation 18

Generation 19

Iraq ibn Mansur

Reign: ninth–tenth centuries

Al-Biruni's teacher, the mathematician Abu Nasr Mansur ibn Iraq, came from this family.

Father
Mansur ibn Abdallah
Children
Muhammad ibn Iraq

Generation 20

Generation 21

Generation 22

Abu Abdallah Muhammad ibn Ahmad

? – 995Reign: tenth century – 995

The last Afrighid; al-Biruni was born and grew up in his capital, Kath. In 995 Ma'mun ibn Muhammad, the emir of Gurganj, took Kath and executed him — Khwarazm passed to the Ma'munids.

Father
Abu Sa'id Ahmad ibn Muhammad

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