The Hindu Shahi Kingdom
The Hindu Shahi dynasty rose in the 9th century CE when, according to the account of the polymath Al-Biruni, a Brahmin minister named Kallar supplanted the earlier Turk Shahi rulers of Kabul around 843 CE. The kingdom controlled the Kabul valley and Gandhara and functioned as a frontier power between Central Asia and the Indian subcontinent, sitting astride the historic invasion corridor through the Khyber Pass that had earlier carried Achaemenid, Greco-Bactrian, Kushan, and Hephthalite armies into the subcontinent. Under sustained pressure from the west, the dynasty's center of gravity shifted eastward over time, and by Jayapala's reign the capital was based at Udabhandapura (also called Hund or Waihind) on the Indus, with Kabul itself increasingly contested territory.
War with Sabuktigin
Jayapala's reign was dominated by conflict with the newly founded Ghaznavid dynasty. Sabuktigin, a former Samanid slave-general (ghulam), had established an independent principality at Ghazni around 977 CE and began pressing east into Shahi territory. Around 986–988 CE the two rulers clashed near the Kabul river valley; despite fielding a large army, Jayapala's forces were defeated. Accounts describe him agreeing to terms that included a tribute payment and the cession of territory between Kabul and Peshawar. When these terms were not honored, Sabuktigin resumed the campaign and inflicted a more decisive defeat, permanently annexing further Shahi territory. A subsequent attempt by Jayapala to reverse the outcome also failed, establishing a pattern of Ghaznavid pressure he could not permanently check.
The Battle of Peshawar, 1001
Sabuktigin died in 997 CE and was succeeded by his son Mahmud of Ghazni, who resumed the eastward campaigns with greater resources and a more explicit program of annual expeditions into Indian territory. Jayapala assembled a large army — medieval chronicles report figures such as 100,000 soldiers, though such numbers in period sources are generally treated by historians as exaggerated — to meet Mahmud near Peshawar, traditionally dated to 27 November 1001 CE. Ghaznavid cavalry and mounted archery broke the Shahi line, and Jayapala was captured along with a number of his family members and commanders, as recorded by the contemporary Ghaznavid chronicler Al-Utbi in the Tarikh-i-Yamini, the principal near-contemporary source for the early Ghaznavid campaigns. He was later released, reportedly after payment of a heavy ransom and further territorial concession.
Death by Self-Immolation
The defeat and capture, coming after the earlier loss to Sabuktigin, was regarded by Jayapala as an unbearable dishonor for a Shahi king. According to the Muslim chronicles that record his end, he abdicated in favor of his son Anandapala and burned himself to death on a funeral pyre, traditionally dated around 1001–1002 CE, in an act later chroniclers frame as a deliberate response to the shame of repeated capture rather than a spontaneous act of despair.
Aftermath
Anandapala continued the struggle against Mahmud, reportedly drawing support from a coalition of northern Indian rulers — a coalition described in greatest detail by the later chronicler Firishta, writing centuries afterward, so its exact composition should be treated with some caution. This alliance was defeated near Waihind in 1008 CE. The Hindu Shahi capital retreated further east to Nandana in the Salt Range, and the dynasty persisted in reduced form under later rulers, including Trilochanapala and Bhimapala, for roughly two more decades before Ghaznavid forces completed the annexation of the Punjab. Jayapala's resistance did not stop Ghaznavid expansion but delayed it by years, and the string of Ghaznavid campaigns his defeats opened the way for eventually gave Mahmud access to the wealth of northern India, funding raids as far as Somnath in Gujarat by 1025 CE. Jayapala himself became a lasting reference point in later memory for early Hindu resistance to Turkic conquest in the northwest.
Further reading
- Dimock, Edward C. The Place of the Hidden Moon. University of Chicago Press, 1966
- Doniger, Wendy. The Hindus: An Alternative History. Penguin, 2009
- Flood, Gavin. An Introduction to Hinduism. Cambridge University Press, 1996
- Klostermaier, Klaus K. A Survey of Hinduism. State University of New York Press, 2007
- Lipner, Julius. Hindus: Their Religious Beliefs and Practices. Routledge, 2010
See also
This entry was last revised on 4 August 2026.