
Mahmud of Ghazni (971 to 1030), in full Abu al-Qasim Mahmud ibn Sabuktigin, ruled the Ghaznavid state from 998 until his death. He was best known by the honorific Yamin al-Dawla, right hand of the state. When he died, his realm stretched from northwestern Iran to the Punjab and north to Khwarazm, and his capital at Ghazni was one of the great cities of the Islamic world.
Son of a slave soldier
Mahmud was born in Ghazni on 2 October 971. His father, Sabuktigin, was a Turkic slave soldier who had risen to govern Ghazni as a subordinate of the Samanids, the rulers of Khorasan and Transoxiana. His mother came from a local landowning family of Zabulistan, so some sources call him Mahmud of Zabulistan.
He learned war early. As a boy he was left in charge of Ghazni while his father campaigned, and at about fifteen he fought in a battle against the Hindu Shahi king Jayapala. In 994 he helped his father take Khorasan from a rebel and was given command of its troops. The next year his enemies beat him at Nishapur and took his elephants and treasure, until Sabuktigin came to his rescue and won a battle near Tus.
Winning the throne
Sabuktigin died in August 997 and left his throne to a younger son, Ismail. Mahmud rebelled, defeated his brother in 998 and took power at the age of 27. He then pushed into Khorasan. In 999 he invaded Nishapur, and on 16 May 999 his army, with cavalry and elephants, beat the Samanid forces near Merv. The Samanid state collapsed soon afterwards.
Mahmud was now an independent ruler who still recognized the Abbasid caliph as his spiritual overlord. From 999 his coins carried the title friend of the commander of the faithful, and the caliph granted him the titles right hand of the state and helper of the religious community. He was the first ruler to use the title sultan, a word meaning authority.

Campaigns
In 32 years of rule Mahmud led some 35 major and 11 minor campaigns and was said never to have lost a battle. He fought the Shi’a rulers of Iran and repeatedly raided northern India, taking Multan in 1006 and reaching Mathura, Kannauj and Somnath, where he sacked the great temple in 1025 and 1026. The raids brought huge treasure back to Ghazni. He also conquered Lahore, which later became the Ghaznavid center in the Punjab.
A Persian court
Though Turkish by descent, Mahmud kept the Persian court culture of the Samanids. Ghazni drew scholars such as al-Biruni, whose study of India was prompted by Mahmud’s campaigns, and poets including Unsuri and Farrukhi. The poet Ferdowsi presented his great epic of the Iranian kings to Mahmud after 27 years of work, and a famous story says the sultan had promised him a gold dinar for every couplet. Medieval writers tell many tales of the sultan’s lack of interest in the poem.
Mahmud built bridges, canals and dams, one of which, north of Ghazni, was still in use in recent times. He died on 30 April 1030 and was buried at Ghazni. His sons Mohammad and Mas’ud ruled after him in turn.
From the blog
Sources
Picture credits
- “Mahmud of Ghazni in caliph’s robe of honour – cropped”, Unknown 14th century illuminator, via Wikimedia Commons. CC0 (public domain dedication).
- “Exterior of the tomb of Mahmud of Ghazni, painted by James Atkinson circa 1840”, James Atkinson, via Wikimedia Commons. Public domain.
