Battle of the Rahib

Hindu ShahisTrilochanapala
1019vs
VictorGhaznavidsMahmud of Ghazni

Driven from the Punjab, the last great Hindu Shahi king Trilochanapala tried to hold the line of the Rahib in the Ganga plain. Mahmud’s men swam the river and broke his army.

Date: 1019 or 1021 CE (sources differ)Where: On the Rahib river, generally identified with the Ramganga, in the upper Ganga plainType: Battle
Photo: CNG Coins · CC BY-SA 3.0
1 min read WhatsApp
Cite

MLA

“Battle of the Rahib.” Hindu History, 2026, https://www.hinduhistory.in/battles/battle-of-the-rahib/. Accessed .

APA

Hindu History. (2026). Battle of the Rahib. Retrieved , from https://www.hinduhistory.in/battles/battle-of-the-rahib/

Result

Mahmud forced the crossing of the Rahib and routed Trilochanapala’s army.

01The crossing

The Persian historians say that Trilochanapala, who had lost Nandana and much of the Punjab, joined the kings of the Ganga plain and took post behind the Rahib, which was deep and muddy. Mahmud’s army hesitated. Then a small party of his soldiers crossed the river on inflated skins and by swimming, attacked the Hindu camp, and the rest followed. Trilochanapala’s army broke, and the Ghaznavids took a large booty of elephants and goods.

02The end of the Shahis

Trilochanapala survived the battle but was killed soon after, in 1021 or 1022, and his son Bhimapala, the last of the line, died in 1026. Al-Biruni, no friend of Hindu kings, paid the Shahis a rare tribute: in all their grandeur, he wrote, they never slackened in the ardent desire of doing what is good and right, and they were men of noble sentiment and noble bearing. Members of the family found refuge in Kashmir.

Why it matters

It was the last field battle of the Hindu Shahis, who had held the north-west gate of India for two centuries.