Jump to content

Mahmud of Ghazni — The Raider and the Resistance

From Indopedia
Revision as of 13:26, 12 June 2026 by Bbnanawati (talk | contribs) (Cross-line retargeted to the wing hub; categorized into The Resistance Chronicle)
Sultan Mahmud of Ghazni
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

A slave from the steppe. Sabuktigin was not of Afghanistan at all, and Islam did not come to him there. Born c. 942 near Barskhan by the Issyk-Kul, a pagan Turk of the Tengrist steppe — neither Hindu nor Muslim — he was captured in tribal raiding at about twelve and sold into the military-slave system of the Samanid empire of Bukhara, where conversion to Islam was part of a ghulam's training. He rose in the service of the slave-general Alptigin, who in 962 broke with Bukhara and seized Ghazni from the Lawik lords — a house tied by marriage to the Hindu Shahis of Kabul — and in 977 the garrison raised Sabuktigin to rule. His testament to Mahmud, the Pand-nāma, still remembered the poverty of a steppe boyhood.[1]

The religious map of 970. When Mahmud was born at Ghazni in 971, the land now called Afghanistan was two worlds. The west and north — Herat, Sistan, Balkh — had been Muslim Khurasan for two centuries. The east still belonged to older India: Hindu Shahi Kabul and the Laghman valleys; Buddhist remnants about Bamiyan; the pagan highlands of Ghor, unconverted until after Mahmud's own campaigns; and Kafiristan, which kept its old gods until 1896. Ghazni was a freshly planted Turkic-Muslim island in that eastern world — which is why the infant sultanate's first wars were with its Hindu neighbours, and why Islam came down to the Indian plains not behind Arab banners, which had halted at Sindh, but behind newly converted Turkic ones.[1]

The two worlds of 970, drawn by Indopedia: Muslim Khurasan to the west; Hindu Shahi Kabul–Gandhara and Hindu Kashmir, Buddhist Bamiyan, pagan Ghor and Kafiristan to the east; the Arab emirates of Multan and Mansura to the south-east — and newborn Ghazni, a Turkic-Muslim island in the Hindu east. Original Indopedia schematic; historical zones c. 970 CE, no modern boundaries depicted.

The frontier war was Mahmud's 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.[2]

Before him — the Arab chapter (712–1010)

See also: The Caliphate and India — A Timeline (636–1030) — the four-century chain from the first raid of 636 to Mahmud's death. Three centuries before Ghazni rose, the Arab caliphate had already entered India once. Muhammad bin Qasim was an Arab of the Thaqif tribe of Ta'if — about seventeen years old, kinsman and protégé of al-Hajjaj, the Umayyad viceroy of the East — when he was given the Sindh command of 711–12 in the name of Caliph al-Walid I in Damascus. He was neither king nor founder, but a young officer of empire (Dynasties of India tells the war's story from the side of Raja Dahir). And the empire consumed him with the same indifference with which it had launched him: when al-Hajjaj and then the caliph died, the rival faction recalled him to Iraq, and he died in its prison about 715, barely twenty — the conqueror of Sindh outlived his conquest by less than three years.[3]

What he took went no further. Arab Sindh shrank into two quarrelling emirates — Mansura on the lower Indus and Multan — which paid for their safety, as the Arab geographers admit, partly by sparing the great sun-temple of Multan whose pilgrim revenues they needed and whose idol they used as a shield against Indian counter-attack; in the later tenth century Multan went over to the Ismaili allegiance of the Fatimid anti-caliph in Cairo. Between Qasim and Mahmud there is no line of blood, command or empire — Arab and Turk, Umayyad officer and Ghaznavid sultan, three hundred years apart, loyal to rival caliphates. The real links are three, and each is instructive: Mahmud inherited the sanctified template of holy war financed by plunder; he used the old Arab foothold as his staging ground — the Somnath march went by Multan; and his first Indian conquests were the Arab successor-states themselves — Multan taken from its Ismaili emir (1006–10) as heresy to his Sunni zeal. The Turk did not continue the Arab chapter of invasion: he closed it, and opened his own.[4]

Command, then franchise. The constant across these three centuries was the banner, not the chain of command. Qasim invaded because the caliphate ordered it — a serving officer executing a viceroy's commission in a caliph's name. Mahmud invaded because he chose to, and then bought the blessing: invested by Caliph al-Qadir in 999 as Yamin al-Dawla — "Right Hand of the State" — he vowed, Gardizi records, a jihad into Hind every year; sent Baghdad a victory dispatch after each triumph; and was showered with fresh titles for Somnath. By then the caliph, a captive of the Shia Buyids in his own capital, commanded nothing — but his word still turned a slave-dynasty's plunder into sanctified war. First the caliphate commanded its generals; later the sultans commanded themselves, and the caliphate signed. The whole chain is charted at The Caliphate and India — A Timeline (636–1030).[5]

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.[6]

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.[7]

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.[8]

The confederacies — unity seen, achieved, and forgotten

What the sources actually say. The evidence for the confederacy of 1008 comes in layers, and Indopedia prints each with its label. The contemporary court historian al-ʿUtbī records that Anandapala assembled a vast composite host for Waihind, with the Khokhar tribesmen in its ranks. The detailed roll-call belongs to Firishta, writing six centuries later: the rajas of Ujjain, Gwalior, Kalinjar, Kannauj, Delhi and Ajmer entered the league; Hindu women sold their jewels and melted down their gold ornaments to pay for the war; the armies faced each other for forty days; and when battle came, thirty thousand Gakhars, bare-headed and bare-footed, broke into Mahmud's entrenched camp and by Firishta's count cut down five thousand of his men in minutes — until the naphtha and arrows panicked Anandapala's elephant and the day collapsed. Firishta also reports an earlier league — Delhi, Ajmer, Kalinjar and Kannauj marching with Jayapala against Sabuktigin a generation before. His details cannot be verified; his kernel — a composite all-North army that came within a charge of destroying Mahmud — is consistent with the contemporary record.[9]

Two pieces of evidence, however, are neither late nor legendary. The first is a letter preserved by Al-Biruni himself — written by Anandapala to Mahmud when the Qarakhanid Turks fell on Khurasan, in the very years between their wars:

"I have learned that the Turks have rebelled against you and are spreading in Khurasan. If you wish, I shall come to you with 5,000 horsemen, 10,000 foot-soldiers and 100 elephants… I have been conquered by you, and therefore I do not wish that another man should conquer you."[10]

A king at war offering his conqueror an army against a third invader: this is the chivalric world the confederacy grew from, recorded with open admiration by the enemy's own scholar. The second is stone: the Dubkund inscription (1088) records that the Kachchhapaghata Arjuna slew Rajyapala of Kannauj "at the command of Vidyadhara" — the kings of the north did not merely ally against Mahmud, they enforced resistance as a norm, punishing capitulation by coalition. And Kalhana's Rājataraṅgiṇī records Kashmir's contribution in men: Samgramaraja sending Tunga's army to stand with the last of the Shahis.[11]

What unity achieved. Waihind was nearly won — by common consent of the sources, the closest any Indian field army came to destroying Mahmud. The norm outlived the battle: Rajyapala's submission in 1018 was answered within the year. And the idea outlived Mahmud himself: Firishta records that around 1043, in the reign of Mahmud's grandson, a league under the raja of Delhi retook Hansi, Thanesar and the Nagarkot country and laid siege to Lahore — the one sustained rollback of the Ghaznavid frontier, and it was confederate. For at least two generations, the kings of the north could and did see the common danger.[12]

Why it was forgotten. The weakness was never courage; it was form. Every confederacy was ad hoc — summoned by the king under threat, paid from emergency (the ornaments are the proof as much as the glory), dissolved the day the crisis passed. There was no standing league, no common treasury, no permanent command: each emergency had to rebuild unity from zero, against an adversary whose army was a standing institution that never disbanded. Between crises the old grammar of clan pride and dynastic rivalry resumed — Paramara against Chaulukya, Chauhan against Chandela and Gahadavala — and precedence again mattered more than the passes. So the confederate idea flickered down the centuries instead of growing: tradition (in the late Prithviraj Raso, to be read with care) has Kannauj stand aloof from the Chauhans before Tarain; Rana Sanga achieved a grand confederacy at Khanwa (1527) — Rajput houses with Afghan allies, broken by cannon rather than betrayal; at Talikota (1565) it was the Deccan sultans who used the confederate method, uniting to destroy Vijayanagara; at Panipat (1761) the Marathas fought alone, old injuries keeping Rajput, Jat and Sikh arms at home. India never lacked examples of unity; it lacked a means of keeping unity alive between emergencies.

A word on the books. Modern survey histories usually give all this a line, if that. Part of the reason is sound: the fullest confederacy account is Firishta's, and a careful historian flags a source six centuries late — as this page does. Part is the last century's preference for social and economic structure over military narrative. But the letter is Al-Biruni's, written in Mahmud's own Ghazni; the punishment of Rajyapala is carved at Dubkund; Tunga's march is in Kalhana — none of these is late, and none is myth. The method of this portal is to print the kernel, the embroidery and the stone side by side, each labelled, so the reader can see exactly how much of the unity was real.

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; a map of India as it stood in his years — with the Chola fleet that crossed an ocean while he crossed a desert — stands at The Resistance Chronicle.

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.[13]

Sources

  • al-ʿUtbī, Tārīkh al-Yamīnī (contemporary court history; panegyric).
  • Gardīzī, Zayn al-Akhbār (11th century).
  • Al-Balādhurī, Futūḥ al-Buldān (9th 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).
  • Bosworth, C. E. The Ghaznavids: Their Empire in Afghanistan and Eastern Iran, 994–1040 (Edinburgh, 1963).
  • 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

  1. 1.0 1.1 Bosworth, C. E. The Ghaznavids: Their Empire in Afghanistan and Eastern Iran, 994–1040. Edinburgh, 1963; Sabuktigin's Pand-nāma (testament), preserved in later Persian compilations.
  2. Nazim, M. The Life and Times of Sultan Mahmud of Ghazna. Cambridge, 1931.
  3. Al-Balādhurī, Futūḥ al-Buldān — the sober early account of both conquest and recall; the Chachnama embroiders his end into romance (the tale of Dahir's daughters), to be read as legend.
  4. Wink, Al-Hind I, on Mansura, Multan, the sun-temple's revenues and shield-role (after Al-Masʿūdī and Iṣṭakhrī), and the Ismaili turn; al-ʿUtbī on the Multan campaigns of 1006–10.
  5. Gardīzī, Zayn al-Akhbār, on the investiture and the annual vow; al-ʿUtbī on the fatḥ-nāmas; Nazim (1931) on the titles after Somnath; Bosworth, The Ghaznavids (1963), on the Buyid captivity of the caliphate.
  6. 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.
  7. Kalhana, Rājataraṅgiṇī VII (trans. M. A. Stein, 1900), with Stein's note identifying Loharakoṭṭa; Firishta on the 1015 retreat.
  8. 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.
  9. Firishta, trans. J. Briggs, History of the Rise of the Mahomedan Power in India, Vol. I — on the leagues of c. 988 and 1008, the ornaments, the forty days, and the Gakhar assault; al-ʿUtbī, Tārīkh al-Yamīnī, on the composite host. The six-king roll appears only in the late source and is to be read as tradition, not record.
  10. Al-Biruni, Kitāb al-Hind, trans. E. C. Sachau, Alberuni's India (1910), Vol. II — quoted by Al-Biruni immediately after his tribute to the Shahi house's nobility.
  11. Dubkund stone inscription of Vikramasiṁha, Epigraphia Indica II (Kielhorn), on Arjuna slaying Rajyapala at Vidyadhara's bidding; Kalhana, Rājataraṅgiṇī VII, on Tunga's expedition.
  12. Firishta, trans. Briggs, Vol. I, on the Hindu league of c. 1043 under the raja of Delhi in Maudūd's reign.
  13. Al-Biruni, Kitāb al-Hind, trans. E. C. Sachau (1910) — composed c. 1030 in Mahmud's Ghazni.