Ghaznavid invasions of Kannauj

During this siege, the Pratihara ruler, Rajyapala, eventually surrendered to Mahmud of Ghazni, thereby accepting nominal suzerainty under his rule.

In the aftermath of his surrender to Mahmud, Rajyapala met his demise at the hands of the Chandela ruler, Vidhyadara, for capitulating to the Ghaznavid conqueror.

Their fourth ruler, Gopala, was defeated and Kannauj was plundered by the Ghaznavid governor of Punjab named Mahmud who was the son of Ibrahim of Ghazni.

Surprisingly, Rajyapala, the ruler of Kannauj, offered no resistance and fled his capital by crossing the Ganga River, ultimately seeking refuge in Bari.

[11][12] After Rajyapala's demise, his successors persisted in maintaining control over certain territories by relocating their capital to Bari, near Kannauj, until their domain was eventually conquered by the Gahadavala Rajputs.

[15] The Gahadavala king levied a tax named Turushkadanda on the people to make annual tribute payments to the Sultans of Ghazni.

[15] Later, Madanapala, who ruled as the Gahadavala monarch from 1100 to 1114 and was the son of Chandradeva, was defeated by the Ghaznavid ruler Masud III and taken as a prisoner of war.

The Kannauj being the political centre of three Kingdoms