Borders of Time
MapTimelineBrowseCountriesToursCitiesPhilosophyPlayAbout
SupportSearch 5,000 years
Browse/People

Person

Mahmud of Ghazni

Historical figure · 971 CE – 1030 CE

Cropped from [File:Mahmud in robe from the caliph.jpg]. From a manuscript of Rashiduddin's Jami' ut-Tawarikh (world history), written around 1200 AD. This illustration 1307 AD. · CC0 · Wikimedia Commons
Image related to Mahmud of Ghazni
Cropped from [File:Mahmud in robe from the caliph.jpg]. From a manuscript of Rashiduddin's Jami' ut-Tawarikh (world history), written around 1200 AD. This illustration 1307 AD. · CC0 · Wikimedia Commons
Born
971 CE
Died
1030 CE
Place of birth
Ghazni
Place of death
Ghazni
Occupation
king
Father
Sabuktigin
Hear the whole article read aloud
Mahmud of Ghazni, Ghaznavid ruler, conquering Qasdar (modern Khuzdar) in India, miniature from the Jamiʿ al-Tawarikh of Rashid al-Din Il-Khanid Tabriz Ms Or 20 f.108v
1314-15 · Public domain · Wikimedia Commons
Mahmud of Ghazni, Ghaznavid ruler, conquering Qasdar (modern Khuzdar) in India, miniature from the Jamiʿ al-Tawarikh of Rashid al-Din Il-Khanid Tabriz Ms Or 20 f.108v

Mahmud of Ghazni, Ghaznavid ruler, conquering Qasdar (modern Khuzdar) in India, miniature from the Jamiʿ al-Tawarikh of Rashid al-Din Il-Khanid Tabriz Ms Or 20 f.108v

1314-15 · Public domain · Wikimedia Commons

Mahmud, who ruled from Ghazni in present-day Afghanistan between 998 and 1030, built the Ghaznavid Empire into a military power reaching from north-western Iran to the Punjab and Khwarazm. He is best known for his repeated raids into northern India, including the sack of the Somnath temple, which brought enormous wealth to his capital. Those raids still divide opinion: he is celebrated as a hero by many in Pakistan and remembered as a destroyer of temples in India.

Origins and accession

Fight between Mahmud of Ghazni and Abu 'Ali Simjuri in 994 AD. Jami al-Tawarikh, 1314
Rashid-al-Din Hamadani · Public domain · Wikimedia Commons
Fight between Mahmud of Ghazni and Abu 'Ali Simjuri in 994 AD. Jami al-Tawarikh, 1314

Fight between Mahmud of Ghazni and Abu 'Ali Simjuri in 994 AD. Jami al-Tawarikh, 1314

Rashid-al-Din Hamadani · Public domain · Wikimedia Commons

Mahmud was born at Ghazni on 2 October 971. His father, Sabuktigin, was a Turkic former slave soldier who had founded a dynasty at Ghazni in 977 as a subordinate of the Samanids, the rulers of Khorasan and Transoxiana; his mother came from a local landowning family. As a youth Mahmud fought beside his father against the Hindu Shahi king Jayapala and in Khorasan. When Sabuktigin died in 997 he named a younger son, Ismail, as heir, but Mahmud defeated his brother and took the throne in 998, at about twenty-seven.

An independent sovereign

The Ghaznavids originally vassal under the Samanids in 998 AD.
Beylarbey · CC BY 4.0 · Wikimedia Commons
The Ghaznavids originally vassal under the Samanids in 998 AD.

The Ghaznavids originally vassal under the Samanids in 998 AD.

Beylarbey · CC BY 4.0 · Wikimedia Commons

Mahmud quickly turned on his weakening Samanid overlords, defeating their army near Merv in May 999, after which their state collapsed under pressure from the Kara-Khanids to the north. Mahmud now ruled in his own right while acknowledging the spiritual authority of the Abbasid caliph, who granted him the title Yamin al-Dawla. He is often described as the first ruler to be widely styled sultan. Over the next decades he took Sistan, beat back a Kara-Khanid invasion in 1008, annexed Khwarazm in 1017 and campaigned in Transoxiana in 1024 and 1025.

The Indian campaigns

Sultan Mahmud and his forces attacking the fortress of Zaranj in 1003 CE. Jami al-Tawarikh, 1314 CE.
by Rashid al-Din (707 AH, 1307 AD) · Public domain · Wikimedia Commons
Sultan Mahmud and his forces attacking the fortress of Zaranj in 1003 CE. Jami al-Tawarikh, 1314 CE.

Sultan Mahmud and his forces attacking the fortress of Zaranj in 1003 CE. Jami al-Tawarikh, 1314 CE.

by Rashid al-Din (707 AH, 1307 AD) · Public domain · Wikimedia Commons

From 1000 onwards Mahmud led a long series of expeditions into the Indian subcontinent, traditionally counted as seventeen. He broke the Hindu Shahi kingdom in a string of battles from 1001 and eventually annexed the Punjab, with Lahore as its centre. Further raids reached Nagarkot, Thanesar, Mathura and Kannauj, where cities were plundered, temples destroyed and many people killed or enslaved; he twice failed to break into Kashmir. Several Indian rulers became tributary vassals rather than being removed. In 1025 to 1026 he sacked the temple of Somnath in Gujarat. Modern estimates of the human cost vary widely, and historians also debate his motives. Some stress plunder to fund his armies and political strategy, others his self-presentation as a holy warrior for Sunni Islam.

Ruler and persecutor

Mahmud took his role as a champion of Sunni orthodoxy seriously at home too. He suppressed Ismaili Shia communities, massacring Ismailis at Multan, and executed a Fatimid envoy. At the same time his army included large numbers of Indian soldiers, many presumably Hindu, under their own commanders, who served him loyally. Contemporaries describe a hard-working ruler who closely supervised his officials but was suspicious of his ministers.

Patron of Ghazni

Mahmud of Ghazni receiving Indian elephants as tribute (Majmu al-Tawarikh, by Hafiz-i Abru, Herat, 1425).
Print from 1425 CE, Afghanistan Photographer: Worchester Museum · Public domain · Wikimedia Commons
Mahmud of Ghazni receiving Indian elephants as tribute (Majmu al-Tawarikh, by Hafiz-i Abru, Herat, 1425).

Mahmud of Ghazni receiving Indian elephants as tribute (Majmu al-Tawarikh, by Hafiz-i Abru, Herat, 1425).

Print from 1425 CE, Afghanistan Photographer: Worchester Museum · Public domain · Wikimedia Commons

The wealth of the Indian raids transformed Ghazni into one of the great cities of the eastern Islamic world, with mosques, palaces, gardens and colleges. Mahmud gathered poets and scholars, even demanding that the court of Khwarazm send its learned men to Ghazni. His Indian campaigns prompted the scholar al-Biruni to write a study of India, which records the deep hostility the raids left behind. The poet Ferdowsi presented his Persian epic, the Shahnameh, to Mahmud, though medieval stories say the sultan showed it little interest.

Last years and legacy

Captured Indian Raja brought to Sultan Mahmud of Ghazni. Folio (Majmu al-Tavarikh, by Hafiz-i Abru, Herat, 1425.)
Print from 1425 CE, Afghanistan Photographer: Worchester Museum · Public domain · Wikimedia Commons
Captured Indian Raja brought to Sultan Mahmud of Ghazni. Folio (Majmu al-Tavarikh, by Hafiz-i Abru, Herat, 1425.)

Captured Indian Raja brought to Sultan Mahmud of Ghazni. Folio (Majmu al-Tavarikh, by Hafiz-i Abru, Herat, 1425.)

Print from 1425 CE, Afghanistan Photographer: Worchester Museum · Public domain · Wikimedia Commons

In his last years Mahmud defeated Seljuk Turkmen he had allowed to settle in Khorasan, and in 1029 took Ray from the Buyids. Weakened by long illness, he died at Ghazni on 30 April 1030 and was buried in his favourite garden. His dynasty lasted another century and a half, but the Seljuks soon took its western lands, and the Ghurids finally ended it in 1187. Mahmud is widely seen as having laid the foundations of later Muslim rule in the Indian interior, which is why his memory remains so politically charged today.

On our maps

Our 1000 map shows the region at the start of his reign, and the 1100 map shows the smaller Ghaznavid realm that survived after the Seljuks took its western provinces.

Sources

  • Wikipedia: Mahmud of Ghazni
  • Wikidata: Mahmud of Ghazni (Q189271)

From the atlas

Mahmud of Ghazni in time and on the map

Mahmud of Ghazni lived from 971 CE to 1030. Borders of Time has one world map from those years: 1000.

Living at the same time, among others on this site: Ibn al-Haytham (965–1038), Stephen I of Hungary (969–1038), Basil II (958–1025), Yaroslav the Wise (978–1054), Avicenna (Ibn Sina) (980–1037), Ferdowsi (940–1020), Leif Erikson (972–1020), Vladimir the Great (958–1015), Brian Boru (941–1014) and Cnut the Great (994–1035).

Events of those years: Reconquista (722–1492), House of Wisdom (800–1258), Christianization of Kievan Rus' (988 CE), Battle of Kleidion (1014) and Battle of Clontarf (1014).

Born just before and after, among others on this site: before, Otto I (912–973 CE) and Erik the Red (950–1003); after, Murasaki Shikibu (978–1014) and Rajendra I (1000–1044).

Mahmud of Ghazni comes up in the guided tour Persia: Empires of the Iranian Plateau.

Quick answers

When was Mahmud of Ghazni born, and when did Mahmud of Ghazni die?
Mahmud of Ghazni was born in 971 CE in Ghazni and died in 1030 in Ghazni, aged about 59.
Who was Mahmud of Ghazni?
Sultan of the Ghaznavid Empire from 998 to 1030.

On the map

See the world in 1030 CE

Open map
Full article on Wikipedia

Structured data: Wikidata Q189271 (CC0)

Borders of Time

An independent atlas of five thousand years of history, built on open data and kept free for everyone.

Support this project

Explore

  • The map
  • Timeline
  • Guided tours
  • The world wars
  • Borders over time
  • Country histories
  • History of philosophy
  • Who ruled my city?
  • Historic sites
  • Compare two years
  • History games
  • Browse
  • Voyages

Sources

  • historical-basemaps
  • Wikipedia
  • Wikidata

About

  • Methodology
  • Contact
  • Report an error
  • Privacy
  • Terms
Articles are written from credible sources, listed beneath each one. Contested topics present perspectives, not verdicts.Borders from historical-basemaps, GPL-3.0, with our corrections · Articles written by us; facts from Wikidata, images from Wikimedia CommonsAs an Amazon Associate we earn from qualifying purchases. Some book and tour links are affiliate links; disclosure.