Skip to content

Knowledge that lights the world

The Ghaznavids and Sultan Mahmud: The Turkish-Islamic Gateway to India

A state founded in Ghazni by a Turkish commander became, under Sultan Mahmud, an empire stretching from Khorasan to the Punjab. The Ghaznavids opened the door to Firdawsi’s Shahnameh, al-Biruni’s India and a thousand years of Turkic history in the Indian subcontinent.

The Ghaznavids and Sultan Mahmud: The Turkish-Islamic Gateway to India

This article is part 1 of the series “How Did the Turks Shape World History?”.

The Ghaznavids were one of the first great states founded by Turks in the Islamic world. Rooted in Turkish commanders trained at the Samanid court, the state soon became a bridge between Central Asia and India. The campaigns of Mahmud of Ghazna, one of the first Muslim rulers to be widely called “sultan”, are regarded as the beginning of the establishment of Islam and Turkic rule in the Indian subcontinent.

From slavery to sovereignty: the founding

In the 10th century the Samanid state, centred on Bukhara, strengthened its army largely with Turkish soldiers (ghulams) brought from Central Asia and trained at court. One of these commanders, Alptigin, settled in 962 in the city of Ghazni in today’s Afghanistan. Sebüktigin, who rose from his retinue, took over the government of Ghazni in 977 and founded a de facto independent dynasty. Successful campaigns against the Hindu Shahi rulers on the Indian frontier allowed him to leave his son a strong state.

Sultan Mahmud (998–1030)

Sebüktigin’s son Mahmud came to the throne in 998. The Abbasid caliph al-Qadir recognised his rule and sent him honorific titles. Mahmud is said to have led seventeen campaigns into India during a reign of more than thirty years. Through them the Punjab was added to Ghaznavid lands, and Lahore in time became the state’s second centre. In the west he brought Khorasan, Khwarezm and much of Iran under his rule.

Historians assess Mahmud’s Indian campaigns in different ways. The vast spoils won were spent on building up Ghazni, while the Somnath campaign of 1025–1026 and the plundering of its temple left a strong mark both in the Muslim sources of the time and in India’s historical memory. An honest reading of history should see these campaigns both as a political and military expansion and as a process with heavy consequences for the peoples of the region.

Ghazni: a cultural capital

Mahmud filled his court with the most brilliant scholars and poets of the age; sources speak of hundreds of poets at his court. One of the greatest works of the period is Firdawsi’s Shahnameh, which gathers the epics of Iran in some fifty thousand couplets; Firdawsi presented it to Mahmud. The famous story of a quarrel between poet and sultan over payment is closer to legend than history, but it is certain that the work was completed in the Ghaznavid era.

The most valuable scholar of the Ghaznavid court, however, was Abu Rayhan al-Biruni. Coming to Ghazni after the Ghaznavid conquest of Khwarezm, al-Biruni accompanied the sultan’s Indian campaigns, learned Sanskrit and wrote his India (Tahqiq ma li’l-Hind), describing Indian thought, science and customs without prejudice. Ghazni’s military expansion thus also gave rise to one of history’s first great works of comparative cultural study. He dedicated his astronomical work al-Qanun al-Mas‘udi to Mahmud’s son, Sultan Mas‘ud.

The order of the state

The Ghaznavids combined the Persian bureaucracy inherited from the Samanids with Turkish military power. Their chancery, their postal and intelligence system (barid) and an army made up of units from different peoples became models for the later Seljuk and Ottoman states. In this period Persian rose as the court’s language of literature and correspondence. The tradition of Turkic dynasties patronising Persian literature would continue for centuries, from the Seljuks to the Mughals.

Dandanaqan and decline

After Mahmud’s death, under his son Mas‘ud, a new power was rising in Khorasan: the Seljuks. In 1040, at the Battle of Dandanaqan near Merv, Tughril and Chaghri Beg defeated the Ghaznavid army. The victory heralded the founding of the Great Seljuk Empire. Having lost their western lands, the Ghaznavids survived for another century and a half in Afghanistan and the Punjab. With the rise of the Ghurids in the 12th century Ghazni was lost, and the last Ghaznavid ruler surrendered at Lahore in 1186.

Legacy: a thousand years in India

The most lasting legacy of the Ghaznavids is the door they opened into the Indian subcontinent. Lahore became an important centre of Islamic culture. Sufis such as al-Hujwiri lived and wrote there; his Persian Sufi classic Kashf al-Mahjub and his shrine in Lahore still draw many visitors today. The Ghurids, the Delhi Sultanate and the Mughals followed this path. Rule by dynasties of Turkic origin in India lasted in different forms for some eight hundred years, until the end of the Mughal state in 1857. Many Turkic words in Urdu — including the word “Urdu” itself, from “ordu” (army, camp) — are reminders of this long shared history.

Frequently asked questions

Were the Ghaznavids Turks?

Yes. The dynasty’s founder Sebüktigin, and Alptigin before him, were commanders of Turkish origin trained at the Samanid court. The state, however, was multi-ethnic; Persian dominated administration and literature, and Arabic religion and law.

Who first used the title “sultan”?

Mahmud of Ghazna is the first major ruler referred to in the sources by the title “sultan”. The title was later formalised by the Seljuks and became one of the most common titles of Muslim rulers down to the Ottomans.

Sources and further reading

  1. Türkiye Diyanet Vakfı İslâm Ansiklopedisi, “Gazneliler”, “Mahmûd-ı Gaznevî”, “Dandanakan Savaşı”.
  2. C. E. Bosworth, The Ghaznavids: Their Empire in Afghanistan and Eastern Iran 994–1040 (1963).
  3. Al-Biruni, Alberuni’s India (tr. E. C. Sachau).
  4. Encyclopaedia Britannica, “Ghaznavid dynasty”, “Mahmud of Ghazna”.
Share
Follow YulaHubGet the day's most important stories first.
RSS

Leave a comment

Your email address will not be published. Required fields are marked *