Mahmud of Ghazni — The Raider and the Resistance
| Born | 2 November 971, Ghazni |
|---|---|
| House | Ghaznavid — of Turkic mamluk origin |
| Reign | 998–1030; the first ruler to bear the title Sultan |
| Indian campaigns | c. 1000–1027 — traditionally counted as seventeen |
| Never taken | Lohkot (1015 and 1021); Kalinjar (1023) |
| Annexed | Punjab and Multan only — the raids held nothing else |
| Died | 30 April 1030, Ghazni |
| His dynasty's end | Ghazni burnt by the Ghurids (1150s); the line extinguished at Lahore, 1186 — while Kumarapala's rebuilt Somnath stood |
Mahmud of Ghazni (971–1030) is the most famous invader in the early history of India — and one of the least examined. Popular telling reduces his career to a single scene, the sack of Somnath in 1026; his court chroniclers inflated it into a faultless holy progress. Both versions hide the same things: the sieges he lost, the fort that beat him twice, the field he could not hold, the kings and queens-regent who answered him, and the fact that of seventeen celebrated campaigns his empire kept exactly one province. Indopedia's rule is to record battles won and lost. This page is the full ledger.
The making of the sultan
Mahmud was the son of Sabuktigin, the Turkic slave-commander who took Ghazni in 977. The frontier war was already his inheritance: the Hindu Shahi king Jayapala twice marched on Ghazni in the 980s and was twice defeated in the Laghman country, losing the Kabul valley approaches. Succeeding in 998, Mahmud received recognition from the Caliph in Baghdad and made the Indian frontier his treasury and his theatre of fame: an annual or near-annual campaign, justified as holy war, funded as plunder. He was, by any military measure, formidable — fast, logistically daring, master of a professional cavalry no contemporary Indian state could match in mobility. The ledger below records what that machine achieved, and where it broke.[1]
The campaign ledger
The traditional count of "seventeen expeditions" comes from later chroniclers; the table gives the major ones with their outcomes — including the entries the popular telling omits.[2]
| Year | Campaign | Adversary | Outcome — and what the chronicles admit |
|---|---|---|---|
| 1001 | Peshawar | Jayapala (Hindu Shahi) | Victory. Jayapala captured and ransomed; he abdicated and died on his own pyre rather than outlive the defeat. |
| 1004–05 | Bhatiya (on the Indus) | Biji Rai | Victory. The ruler chose death over capture. |
| 1006–08 | Multan; then the Shahi prince Sukhpal | Daud of Multan; Sukhpal "Nawasa Shah" | Victory — with a telling sequel: Sukhpal, Jayapala's grandson, converted after capture and installed as governor, renounced Islam the moment Mahmud's back was turned and rose in revolt. |
| 1008 | Chach (Waihind) | Anandapala and the confederacy of the northern kings | Victory — by the breadth of an elephant's nerve. The Khokhar charge had already broken into the camp; the day turned only when Anandapala's elephant fled. Firishta adds that Ujjain, Gwalior, Kalinjar, Kannauj, Delhi and Ajmer had sent contingents, and that Indian women sold their ornaments to fund the army. |
| 1009 | Nagarkot (Kangra) | — | Victory. A treasury fort whose garrison was absent. |
| 1014 | Thanesar | — | Victory. The bronze Chakrasvamin was carried to the Ghazni hippodrome, where Al-Biruni later saw it. |
| 1014 | The Tausi river | Trilochanapala (Shahi) with Tunga of Kashmir | Victory. The last Shahi field army; Kalhana records Tunga's initial success before the rout. |
| 1015 | Lohkot, Kashmir | Samgramaraja (Lohara) | FAILURE. The mountain fortress did not fall; the retreat through the snows nearly destroyed the army. |
| 1018–19 | Mathura and Kannauj | Rajyapala (Gurjara-Pratihara) | Victory. Mahmud's own letter marvelled that Mathura's buildings could not be matched in two hundred years — then he sacked them. Rajyapala submitted; the Chandela-led coalition killed him for submitting — resistance, not surrender, was the political norm. |
| 1019 | Bundelkhand | Vidyadhara (Chandela) | Indecisive. Faced with the largest army of his Indian wars, Mahmud held the field; the Chandela host decamped in the night; he claimed victory and went home with nothing. |
| 1021 | Lohkot again | Samgramaraja | FAILURE. A month before the walls, then withdrawal. He never entered Kashmir. |
| 1022–23 | Gwalior and Kalinjar | Kachchhapaghatas; Vidyadhara | Settlement, not conquest. Tribute was taken, verses exchanged — the fort of Kalinjar never fell. |
| 1025–26 | Somnath | Bhima I withdrew to Kanthkot; the temple's defenders fought | Victory — the famous one. And then the price: the return through the desert to avoid the waiting armies (the chronicles' "Param Dev"), false guides, thirst, and Jat attacks on the column all the way to the Indus. |
| 1027 | The Jats of the Indus | the Jat river flotilla | Victory. His last Indian campaign — a punitive war made necessary by what the retreat from Somnath had suffered. |
What the standard telling forgets
Kashmir beat him. Twice, in 1015 and 1021, Mahmud came against the Lohara fortress of Lohkot in the Pir Panjal, and twice the siege failed — the first time with the army mauled by the snows. He never attempted Kashmir again. A sultan remembered as irresistible was stopped outright, by the same dynasty whose general had marched to stand with the Shahis.[3]
Kalinjar did not fall. The Chandela king Vidyadhara — who had punished the Pratihara Rajyapala's submission with death — met Mahmud twice. The first meeting (1019) ended with Mahmud claiming a field from which he gained nothing; the second (1022–23) ended in tribute and a poem, with the great fort untaken. The most powerful Indian king of his day is barely a name in the textbooks.
Waihind was nearly the end. At Chach in 1008 the confederate army — kings of six houses, funded in Firishta's telling by the ornaments of their women — broke into Mahmud's camp behind the Khokhar charge. The battle was decided not by generalship but by the panic of one elephant. The chroniclers of the victor recorded that detail themselves.
The raids held nothing. Seventeen campaigns annexed one province — the Punjab with Multan. Beyond it, every sack was followed by restoration: the Shahis fought for another generation; Bhima I returned to Anahilavada; Somnath was rebuilt in stone within living memory of the raid. Plunder is not empire.
Time's verdict was exact. Within a hundred and twenty years of Mahmud's death, Ghazni itself was burnt by the Ghurid "World-Burner"; in 1186 the last Ghaznavid was extinguished at Lahore. In those very decades, Kumarapala's masons were raising the new Somnath (1169). The raider's house died; the temple he broke was standing.[4]
The kings who answered
The resistance was not an episode; it was a chain. Jayapala, who chose the pyre over a ransomed old age. Anandapala, who built a confederacy of rivals — proof that the kings of the north could see a common danger. Trilochanapala, who fought on from the Salt Range with Kashmiri arms. Samgramaraja of Kashmir and the garrison of Lohkot, who handed Mahmud his only outright defeats. Vidyadhara, who kept Kalinjar and enforced resistance as policy. Bhima I, who came back, and whose successors' rebuilt shrine outlived the Ghaznavid empire. And the unnamed: the Khokhars at Waihind, the Jats of the Indus who harried the victor of Somnath through the desert, the Shahi prince who renounced his forced conversion the moment he was free. Their houses are chronicled at Dynasties of India.
Measured
None of this requires pretending Mahmud was a small soldier; he was among the most effective cavalry commanders of the medieval world, and India's fortified, slow-mustering kingdoms were structurally vulnerable to him. It requires only reading the whole ledger. Mohammad Habib did so a century ago and found the legend wanting; Nazim's sympathetic biography and Thapar's study of Somnath's many memories complete the frame. The honest summary is this: a brilliant raider who won most of his battles, lost the ones that guarded the mountains, held almost nothing he struck, and whose most permanent Indian legacy — by a historian's irony — is the book his own scholar Al-Biruni wrote in honest admiration of the civilisation his master plundered.[5]
Sources
- al-ʿUtbī, Tārīkh al-Yamīnī (contemporary court history; panegyric).
- Gardīzī, Zayn al-Akhbār (11th century).
- Kalhana, Rājataraṅgiṇī, Bk. VII, trans. M. A. Stein (1900).
- Firishta, Tārīkh-i Firishta, trans. J. Briggs (1829) — late and embellished; used here with flags.
- Al-Biruni, Kitāb al-Hind, trans. E. C. Sachau (1910).
- Habib, Mohammad. Sultan Mahmud of Ghaznin (1927).
- Nazim, M. The Life and Times of Sultan Mahmud of Ghazna (Cambridge, 1931).
- Thapar, Romila. Somanatha: The Many Voices of a History (2004).
- Majumdar, R. C. (ed.). The Struggle for Empire (Bharatiya Vidya Bhavan).
References
- ↑ Nazim, M. The Life and Times of Sultan Mahmud of Ghazna. Cambridge, 1931.
- ↑ Principal sources: al-ʿUtbī's Tārīkh al-Yamīnī (court panegyric, contemporary), Gardīzī (11th c.), Firishta (17th c. — late, colourful, to be used with care), and for Kashmir, Kalhana's Rājataraṅgiṇī Bk. VII.
- ↑ Kalhana, Rājataraṅgiṇī VII (trans. M. A. Stein, 1900), with Stein's note identifying Loharakoṭṭa; Firishta on the 1015 retreat.
- ↑ Thapar, Romila. Somanatha: The Many Voices of a History. 2004; Habib, Mohammad. Sultan Mahmud of Ghaznin. 1927 — the classic critical study that first measured the legend against the record.
- ↑ Al-Biruni, Kitāb al-Hind, trans. E. C. Sachau (1910) — composed c. 1030 in Mahmud's Ghazni.