Ghaznavid–Hindu Shahi Wars

Ghaznavid-Hindu Shahi conflicts
Part of Ghaznavid campaigns in India

Mahmud's invasion of Punjab in 1002, Jami' al-Tawarikh, c. 1306 or 1314/15
Date977–1026 AD
Location
Result Ghaznavid victory
Territorial
changes
Gandhara and Punjab annexed by Ghaznavid Empire.
Belligerents
Ghaznavid Empire Supported by:
Emirate of Multan
Lohara dynasty
Chandelas of Jejakabhukti
Commanders and leaders
Alp-Tegin #
Sabuktigin #
Mahmud of Ghazni
Abdullah Ta'i
Arslan Jadhib
Jayapala (POW)
Anandapal #
Sukhapala (POW)
Trilocanapala X
Bhimapala #
Abu Ali Lawik 
Strength
Charkh: 500 cavalry
Laghman: Squadrons of 500 horses
Peshawar: 15,000
Chach: 6,000 archers, 6,000 cavalry, 10,000 infantry
Charkh: 40,000
Laghman: 100,000
Peshawar: 12,000 cavalry, 30,000 infantry, 300 elephants
Chach: 30,000 infantry
Casualties and losses
Charkh: unknown
Laghman: unknown
Peshawar: unknown
Chach: 5,000
Charkh: Many killed
Laghman: Thousands
Peshawar: 5,000–15,000
Chach: 20,000

Ghaznavid–Hindu Shahi wars were a series of conflicts fought between the of Ghaznavid Empire and Hindu Shahis. Led primarily by Mahmud of Ghazni (r. 998–1030) the Ghaznavids aimed to expand their empire through conquest and plunder, targeting the wealth of the Indian subcontinent.

The wars culminated in the decisive defeat of the Hindu Shahis by 1026 CE, resulting in the loss of their territories, to the Ghaznavids. These conflicts marked the end of Hindu Shahi rule and facilitated the expansion of Islamic influence into northern India, setting the stage for further Muslim conquests in the region.