History#Mahmud of Ghaznavi#Ghaznavid Empire#Medieval India#Pakistan Affairs#History#CSS#PMS#Somnath#Al-Biruni#Lahore

Mahmud of Ghaznavi: The Sultan Who Shaped Medieval India

Mahmud of Ghaznavi ruled the Ghaznavid Empire from 998 to 1030 and invaded India seventeen times, sacking Somnath in 1025-26 and annexing the Punjab. This Topic Dive covers his rise in Ghazni, the campaigns, his court of poets and scholars, and his contested legacy. A complete guide for CSS and PMS Pakistan Affairs and History.

By CivilEdge AI•6 min read

Key Exam Takeaways

Mahmud of Ghaznavi was born in Ghazni on 2 October 971, the son of Sabuktigin, founder of the Ghaznavid dynasty in 977. He took the throne in 998 at the age of twenty-seven after defeating his brother Ismail, and became the first ruler to hold the title Sultan. Between 1000 and 1027 he invaded India seventeen times: he defeated Jayapala at Peshawar on 28 November 1001, took Multan in 1006, won the Battle of Chach on 31 December 1008, captured Nagarkot in 1009 and Thanesar in 1014, and annexed the Punjab in 1021 with Lahore as its centre. His most famous raid was the sack of the Somnath temple in 1025-26. In 1027 he destroyed the Jat fleet near Multan with 1,400 boats. Al-Biruni wrote Kitab-ul-Hind at his court and Ferdowsi presented the Shahnameh there. Mahmud died on 30 April 1030; his dynasty ruled for another 157 years.
Mahmud of Ghaznavi: The Sultan Who Shaped Medieval India - CivilEdge Study Guide

Introduction

Mahmud of Ghaznavi ruled the Ghaznavid Empire from 998 to 1030 and is the most famous medieval ruler in the history of the subcontinent. Between 1000 and 1027 he invaded India seventeen times, defeated the Hindu Shahi kings, sacked the temple of Somnath in 1025-26, and annexed the Punjab, laying the foundation of Muslim rule in the interior of the subcontinent. At his death his empire stretched from northwestern Iran to the Punjab and Khwarazm in Transoxiana, and his capital Ghazni had become one of the great cultural cities of the Islamic world, almost rivalling Baghdad. His name still divides opinion: he is celebrated as a hero in Pakistan and remembered as a destroyer of temples in India. For CSS and PMS candidates Mahmud is core Pakistan Affairs and History material. He appears in questions on the Ghaznavid dynasty, the early Muslim invasions, the Somnath expedition, the court of Al-Biruni and Ferdowsi, and the Two-Nation Theory. This Topic Dive covers his rise to power, the seventeen invasions, the sack of Somnath, and his court and legacy.

From Ghazni to the Throne

Mahmud was born in Ghazni, in present-day Afghanistan, on 2 October 971. His father Sabuktigin was a Turkic slave commander who founded the Ghaznavid dynasty in Ghazni in 977, ruling at first as a subordinate of the Samanids, the rulers of Khorasan and Transoxiana. His mother came from a landowning family of Zabulistan. As a boy Mahmud served as his father's lieutenant in Ghazni, and at the age of fifteen he fought in the First Battle of Laghman in 988 against Raja Jayapala. When Sabuktigin died in August 997 he named his younger son Ismail as heir, but Mahmud revolted, defeated Ismail at the battle of Ghazni in 998, and took the throne at the age of twenty-seven. Mahmud was the first ruler in Islamic history to hold the title Sultan, a word meaning authority. In 999 the Abbasid Caliph al-Qadir recognised him and gave him the titles Yamin al-Dawla, Right Hand of the State, and Amin al-Milla, Helper of the Religious Community. His coins from 999 called him Wali Amir al-Mu'minin, Friend of the Commander of the Faithful. He spent the first years of his reign securing his empire. He took Khorasan from the collapsing Samanids in 999, conquered Sistan in 1002, and defeated the Kara-Khanids at the Battle of Katar on 5 January 1008. In thirty-two years on the throne he fought thirty-five major and eleven minor campaigns and, by the accounts of his historians, never lost a battle.

The Seventeen Invasions of India

Between 1000 and 1027 Mahmud invaded India seventeen times. His first raid, in September 1000, took Bannu and Waziristan from the Hindu Shahis. On 28 November 1001 he defeated Raja Jayapala at the Battle of Peshawar, also called the Battle of Hund. Jayapala was captured and later released, then immolated himself, and his son Anandapala carried on the struggle. The campaigns followed in quick succession. In 1006 Mahmud took Multan from its Qaramatian ruler Fateh Daud. On 31 December 1008 he defeated a confederacy of Ujjain, Delhi, Kalinjar, Kannauj, Ajmer and the Hindu Shahis at the Battle of Chach. In June 1009 the fort of Nagarkot in the Kangra valley fell after a three-day siege. In 1014 he took Thanesar, destroying its famous Chakrasvamin idol and carrying it to Ghazni. In December 1011 Qusdar, modern Khuzdar in Balochistan, submitted to him. Mahmud annexed only the Punjab. The other conquered kingdoms were left under Hindu vassal rulers who paid tribute. The Punjab itself was fully annexed in 1021, after Bhimapala fled Lahore, and Lahore became the Ghaznavids' great Indian centre: his Lahore mint issued bilingual Arabic and Sanskrit coins in 1028. His two attempts on Kashmir, in 1015 and 1021, both failed at the strong fort of Loharkot. The great Doab campaign came in 1018-19. Mathura was plundered, and on 20 December 1018 Mahmud captured Kannauj after its ruler Rajyapala fled across the Ganges. In 1020-23 he campaigned against the Chandella king Vidyadhara of Kalinjar and the ruler of Gwalior, ending with Vidyadhara offering 300 elephants and other gifts for peace. Historians agree that wealth was central to these campaigns: the plunder of temples and cities financed Mahmud's armies in Central Asia and the building of Ghazni. Religious zeal also played a part, and he presented his wars as the defence of the Sunni Abbasid Caliphate. Modern historians debate the balance. Mohammad Habib argued the expeditions were driven by love of plunder, not by forced conversion, while Romila Thapar reads the sack of Somnath as a political act.

Somnath, Ghazni's Golden Age and Legacy

The most famous of all the invasions was the sack of Somnath. In 1025 Mahmud marched on the Somnath temple on the Gujarat coast, one of the richest temples in India and a famous pilgrimage centre. Its ruler Bhima I fled, and the temple was sacked and its treasures carried back to Ghazni. The return was harder than the victory. To avoid the armies of King Bhoja, Mahmud marched back through the Thar Desert, where hunger and thirst killed many of his men and animals, and the Jats attacked his army at the Indus. In 1027 he returned with a fleet of 1,400 boats and destroyed the Jat fleet of 4,000 vessels near Multan. The wealth of India rebuilt Ghazni. Al-Biruni, who travelled with the expedition of 1017, wrote Kitab-ul-Hind, the great study of Indian society and religion. Ferdowsi laboured for twenty-seven years on the Shahnameh and presented it at Mahmud's court. Unsuri, Farrukhi Sistani and Manuchehri were among his poets, and Dawlatshah records that four hundred poets attended his court. Universities were founded to study mathematics, comparative religion, the humanities and medicine. He built the Band-i Mahmudi dam north of Ghazni, which was still in use in recent times, and the Friday Mosque Arus al-Falak, the Bride of Heaven, after the Doab campaign. Mahmud died in Ghazni on 30 April 1030, aged fifty-eight. His twin sons Muhammad and Masud succeeded him one after the other. The Ghaznavid dynasty ruled for another 157 years, until Muhammad of Ghor captured Lahore, its last stronghold. In Pakistan Mahmud is remembered as a hero and an icon of the Two-Nation Theory, and the Pakistan Army named its short-range ballistic missile Ghaznavi after him. For exam candidates the balanced facts matter: a conqueror who plundered, a builder who made Ghazni a centre of Persian literature, and the ruler who planted Muslim rule in the Punjab.

References and Resources

Wikipedia, Mahmud of Ghazni, https://en.wikipedia.org/wiki/Mahmud_of_Ghazni Simple Wikipedia, Mahmud of Ghazni, https://simple.wikipedia.org/wiki/Mahmud_of_Ghazni Vajiram and Ravi, Mahmud of Ghazni, History, Invasions, Death, Impacts, UPSC Notes, https://vajiramandravi.com/upsc-exam/mahmud-of-ghazni/ Testbook, Mahmud of Ghazni: Invasions of India, Objectives and Impact, https://testbook.com/ias-preparation/mahmud-of-ghazni CivilEdge History Timeline, Mahmud of Ghaznavi's Invasions of India (1000-1027), https://civiledge.app/learn Cover image: Mahmud of Ghazni receiving Indian elephants as tribute, miniature from the Majma al-Tawarikh of Hafiz-i Abru, Herat, 1425, Wikimedia Commons (public domain), https://commons.wikimedia.org/wiki/File:Mahmud_of_Ghazni_receiving_Indian_elephants_as_tribute_(Majmu_al-Tawarikh,_Hafiz_i-Abru,_Herat,_1425).jpg

Checkpoint Quiz1 / 3

In which year did Mahmud of Ghaznavi defeat Raja Jayapala at the Battle of Peshawar?

Mahmud of Ghaznavi: The Sultan Who Shaped Medieval India | History | CivilEdge | CivilEdge