أطلس الزمانIslamic history from pre-Islamic Arabia to 1924 العربية
Khurasan & TransoxianaSultanate

Ghaznavids

366–582 AH · 977–1186 CE (209 years)
Turkish slave-commanders of the Sāmānids who made Ghazna their capital under Sebüktigin (977). Maḥmūd of Ghazna (998–1030) raided deep into India (Somnath, 1025) and patronised al-Bīrūnī and Firdawsī; beaten by the Seljuks at Dandānqān (1040), the dynasty kept Afghanistan and the Punjab until the Ghūrids took Lahore in 1186.
Emerged from: Sāmānids
Succeeded by: Ghūrids

Its extent over time

366 AH · 977 CEGreatest extent: 420 AH · 1029 CE582 AH · 1186 CE

Its rulers (20)

The names in order
Sebuktigin366–387 AH · 977–997 CEA Turkish slave-commander who took Ghazna for the Samanids.
Isma'il ibn Sebuktigin387–388 AH · 997–998 CENamed heir by his father and overthrown by his brother Mahmud within months.
Mahmud ibn Sebuktigin388–421 AH · 998–1030 CEMade Ghazna independent of the Samanids and carried the dynasty's raids deep into India.
Muhammad ibn Mahmud (first reign)421–421 AH · 1030–1030 CEChosen by his father but overthrown by his brother Mas'ud, who blinded him.
Mas'ud I ibn Mahmud421–432 AH · 1030–1040 CEDefeated by the Seljuqs at Dandanqan in May 1040, losing Khurasan; on the way to India his army deposed him and soon killed him.
Muhammad ibn Mahmud (second reign)432–432 AH · c. 1040–1041 CERestored by the army; defeated and killed by Mas'ud's son Mawdud (Bosworth places the end of this reign in 1041; Zambaur has 433/1042, and the Encyclopaedia of Islam dates the battle of Nagrahar to 1042).
Mawdud ibn Mas'ud432–440 AH · 1041–1048 CE
Mas'ud II ibn Mawdud440–440 AH · 1048–1049 CEA child of six, set aside within weeks by his uncle Ali.
Ali ibn Mas'ud (Baha al-Dawla)440–440 AH · 1049–1049 CE
Abd al-Rashid ibn Mahmud440–443 AH · 1049–1052 CEKilled by the usurper Toghril.
Toghril (usurper)443–443 AH · 1052–1052 CEA slave commander who seized the throne for some weeks and was killed by followers of the dynasty.
Farrukhzad ibn Mas'ud443–451 AH · 1052–1059 CE
Ibrahim ibn Mas'ud451–492 AH · 1059–1099 CEMade peace with the Seljuqs, which lasted for most of the next half-century.
Mas'ud III ibn Ibrahim492–509 AH · 1099–1115 CE
Shirzad ibn Mas'ud III509–510 AH · 1115–1116 CE
Arslan Shah (Malik Arslan)510–511 AH · 1116–1117 CESeljuq troops took Ghazna in 1117 on behalf of his brother Bahram Shah.
Bahram Shah (first reign)511–545 AH · 1117–1150 CEA tributary of the Seljuq sultan Sanjar, who had helped him to the throne (the Encyclopaedia of Islam dates his accession to 1118); the Ghurid 'Ala' al-Din Husayn sacked Ghazna in 1150.
Bahram Shah (second reign)547–552 AH · c. 1152–1157 CE
Khusraw Shah ibn Bahram Shah552–555 AH · c. 1157–1160 CE
Khusraw Malik ibn Khusraw Shah555–582 AH · 1160–1186 CELast Ghaznavid, ruling from Lahore; the Ghurid Mu'izz al-Din Muhammad took Lahore in 1186 (the Encyclopaedia of Islam says 1187) and put him to death in 1191.
Lands it ruled (10)
Kābul, Zābulistān and Ghūr366–555 AH · 977–1160 CEThe Ghūrid ʿAlāʾ al-Dīn Ḥusayn sacked Ghazna in 1150, but Bahrām Shāh returned; under his successors the line withdrew to the Punjab.
Balkh, Ṭukhāristān and Badakhshān389–451 AH · 999–1059 CEThe Qarakhānid Ilig took it briefly in 1006; the Seljuks, fighting for it from the 1040s, occupied it definitively in 1059.
Herat (Bādghīs, Būshanj, Isfizār)389–431 AH · 999–1040 CE
Merv (Sarakhs, Abīward, Nasā)389–428 AH · 999–1037 CEMerv fell to Chaghrï Beg's Seljuks in 1037, before the rest of Khurasan.
Nīshāpūr, Ṭūs and Quhistān389–431 AH · 999–1040 CEThe Seljuks entered Nīshāpūr in 1038 and won Dandānqān in 1040.
Sijistān (Sīstān)393–421 AH · 1003–1030 CEGhaznavid governors ruled Sīstān directly.
Multān and Uch400–570 AH · 1010–1175 CEGhaznavid governors held Multān; Ismāʿīlīs regained it when Ghaznavid power waned.
Khwārazm (Gurganj, Kāth, Khiva)408–432 AH · 1017–1041 CEMaḥmūd's commander Altuntash and his sons governed as Khwārazmshāhs, and they broke with Ghazna from 1034.
The Punjab (Lahore, Peshawar)412–582 AH · 1021–1186 CELahore became the Ghaznavid capital after Ghazna was lost to the Ghūrids in the mid-12th century.
Northern Jibāl (Rayy, Qazwīn, Qum)420–428 AH · 1029–1037 CEMaḥmūd of Ghazna annexed Rayy and much of the Jibāl; Masʿūd could not hold these distant conquests.
Sources (6)
C. E. Bosworth, The Ghaznavids (Edinburgh University Press, 1963)
al-Kamil fi al-Tarikh — Ibn al-Athir
The New Islamic Dynasties: A Chronological and Genealogical Manual — C. E. BosworthThe Ghaznawids
Encyclopaedia of Islam (2nd/3rd ed.) — BrillGhaznawids, vol. 2 (the dynastic table)
Manuel de généalogie et de chronologie pour l'histoire de l'Islam — E. de ZambaurGhaznawides
Encyclopaedia of Islam (2nd/3rd ed.) — BrillMaḥmūd b. Sebüktigin and Masʿūd b. Maḥmūd, vol. 6; Ismāʿīl b. Sebüktigin, vol. 4

Open in the atlas