Ghaznavid raids and al-Biruni
Early Medieval North India: Harsha to the Rajputs · section 7 of 10
In this note
Detail
The Hindu Shahis and the Khyber gateway
- The Hindu Shahis ruled the land between Afghanistan and Punjab. Their power rested on one thing: they held the Khyber Pass.
- The Khyber Pass was the old road into the subcontinent. Traders used it. Invaders used it too. Whoever held it controlled who entered north India.
- The Turkic Ghaznavids, with their capital at Ghazni in Afghanistan, broke this wall.
- First Jayapala was defeated.
- Then in 1008 his son Anandapala lost, even though many north Indian rulers joined him in a coalition.
-
After that the Indus plains lay open. No strong shield was left in the north-west.
-
Al-Biruni, who had no reason to flatter a beaten dynasty, still called the Shahis "men of noble sentiment and noble bearing."
- The Ghaznavid dynasty itself ran from 977 to 1186 CE and ruled Khorasan (north-east Iran), Afghanistan and north India. It was founded when Sebuktigin, a Turkish slave soldier, became ruler of Ghazna in 977. [2]
Mahmud of Ghazni — 17 campaigns
- Mahmud of Ghazni was the first ruler to take the title 'sultan' (Muslim ruler holding real power in his own right).
- He led 17 campaigns into India. Each one ended the same way: he marched back to Ghazni loaded with booty (loot).
- Mahmud was the son of Sebuktigin and came to the throne in 998 at the age of 27. [2]
- The large campaigns ran from 1001 to 1026 — he is said to have vowed to invade India once every year. [2]
- Why he won:
- Speed. His armies marched fast and struck before defenders could gather.
- Cavalry-archers. Horsemen who shot arrows while riding. They could hit and pull back without closing in.
-
Indian kings did fight hard — the Chandellas among others resisted — but the speed and the mounted archers decided it.
-
Key dates:
- 1018 — destroyed the great temple at Mathura; sacked Kannauj, the old prize-city of north India.
-
A few years later — destroyed Somnath in Gujarat. Britannica dates this last famous expedition to 1024, on the coast of the Kathiawar Peninsula. [2]
-
The cost was human, not only material. Campaigns brought slaughter of civilians and enslavement of prisoners, who were sold in Central Asian markets.
- At its peak under Mahmud the Ghaznavid empire stretched from the Oxus river to the Indus valley and the Indian Ocean; in the west he took the Iranian cities of Rayy and Hamadan from the Buyids. [2]
Motive debate — plunder or faith?
This is the debate the chapter sets up. Both sides use real evidence.
- Argument for plunder:
- Mahmud built no permanent base beyond Punjab. He did not stay and rule. He came, took, and left.
-
Temples in this period held immense wealth — gold, jewels, land grants from kings. They were the richest targets available.
-
Argument for religious zeal:
- His court historian al-Utbi wrote of "making the light of Islam visible."
-
Al-Biruni records that the broken Somnath linga was placed at the door of the mosque at Ghazni — loot used as a public religious statement.
-
Argument that it was not simple religious war:
- Mahmud's coin struck at Lahore carried Arabic on one side and Sanskrit on the other, calling him 'nripati' (Sanskrit for king).
-
A ruler using local language and local royal titles is speaking to local subjects, not only destroying them.
-
Exam takeaway: treat this as a both/and, not either/or. Wealth was the steady driver; faith gave the language and the justification.
Al-Biruni — the scholar who came with the invader
- Al-Biruni was a Persian polymath (a scholar expert in many subjects) from Khwarizm in Central Asia.
- He came to India with Mahmud, around 1017. He arrived in the baggage of a raid and produced the finest study of India of his age.
- Born September 973 in Khwarezm; died 1048 at Ghazna. He wrote more than 120 works and is called the founder of Indology (the study of India) for his detailed account of 11th-century India. [3]
- What he did:
- Learnt Sanskrit himself, so he could read Indian texts directly instead of trusting translators.
- Wrote an encyclopaedic survey of Indian religion, philosophy, literature, geography and the sciences.
- Compiled and used the Indian scientists Aryabhata, Varahamihira and Brahmagupta.
-
Translated Patanjali's Yogasutras into Arabic.
-
His India book is titled Tahqiq ma li-l-Hind — the full title means "Verifying All That the Indians Recount, the Reasonable and the Unreasonable." He finished it around 1030. It is the most important of his encyclopaedic works. [4][3]
- He wrote in Arabic, and across his life produced works on mathematics, astronomy, astrology, geography, physics, medicine, history and chronology. [3]
- His famous verdict: Indian sciences "have fled… to Kashmir, Varanasi, and other places."
- Read this as a map of damage. Learning did not die. It moved away from the raided plains to safer regions.
- This is a useful line for any answer on how invasion reshaped the geography of Indian learning.
Prelims Hooks
- Khyber Pass was held by the Hindu Shahis before the Ghaznavid conquest.
- Anandapala, son of Jayapala, was defeated in 1008 despite a coalition of north Indian rulers.
- Mahmud of Ghazni was the first ruler to take the title 'sultan'; he led 17 campaigns.
- 1018 — Mahmud destroyed the Mathura temple and sacked Kannauj.
- Somnath (Gujarat, Kathiawar coast) was destroyed in Mahmud's last famous campaign, dated 1024. [2]
- Ghaznavid dynasty: 977–1186 CE, capital Ghazni, founded by Sebuktigin. Mahmud took the throne in 998. [2]
- Mahmud's Lahore coin carried Arabic and Sanskrit, using the title 'nripati'.
- Al-Biruni (b. 973 Khwarizm, d. 1048 Ghazna) learnt Sanskrit and translated Patanjali's Yogasutras into Arabic. [3]
- Al-Biruni's India book is Tahqiq ma li-l-Hind, completed around 1030. [4][3]
- Al-Biruni said Indian sciences had fled to Kashmir and Varanasi.
Mains Points
- Motive of the Ghaznavid raids is a live debate, not a settled fact. Absence of permanent rule beyond Punjab and the wealth of temples point to plunder; al-Utbi's "light of Islam" and the Somnath linga at the Ghazni mosque door point to religious zeal; the bilingual Lahore coin shows political accommodation. A good GS-I answer holds all three together.
- Loss of the Khyber Pass was a strategic failure, not only a military defeat. Once the Shahi buffer fell in 1008, the Indus plains had no organised frontier defence — this explains why later Turkish invasions in the 12th century faced an open road.
- Political fragmentation beat Indian numbers. A coalition did form in 1008 and still lost. Rajput polities were rich but locally focused, with no standing frontier army and no cavalry-archer arm to match the Ghaznavids. Use this to link the section to the wider tripartite/Rajput fragmentation theme.
- Invasion and scholarship arrived together. Al-Biruni travelled with Mahmud yet produced a careful, respectful study of Indian religion and science — and his remark that learning had fled to Kashmir and Varanasi shows cultural centres shifting away from the war zone. Useful for answers on cultural contact and knowledge transmission between India and the Islamic world.
Sources
- 1Class 7 Part 2, Ch 3 "Empires and Kingdoms"; Class 7 Part 2, Ch 4 "Turning Tides" (primary)
- 2Maḥmūd | Afghan Ruler & Conqueror; Ghaznavid dynasty — andbritannica.com · tier 3
- 3Al-Bīrūnī | Persian Scholar, Astronomer, Mathematician & Geographerbritannica.com · tier 3
- 4Taḥqīq mā li-l-hind min maqūlah maqbūlah fī al-ʿaql aw mardhūlah | work by al-Bīrūnībritannica.com · tier 3