Ghaznavid invasions of Kannauj
The Ghaznavid invasion of Kannauj or the siege of Kannauj in 1018 was a military campaign conducted by Mahmud of Ghazni, the then ruler of the Ghaznavid Empire, against the Pratihara dynasty. During this siege, the Pratihara ruler, Rajyapala, eventually surrendered to Mahmud of Ghazni, thereby accepting nominal suzerainty under his rule.
Source: Wikipedia — Ghaznavid invasions of Kannauj (CC BY-SA 4.0)