From about the eighth to the tenth century, three dynasties fought over the city of Kanauj (Kannauj) in the Ganga valley:
- the Gurjara-Pratiharas of western India;
- the Palas of Bengal;
- the Rashtrakutas of the Deccan.
NCERT's Class 7 history text (Our Pasts II, Chapter 2, "Kings and Kingdoms") puts it simply. Kanauj was a particularly prized area, rulers of these three dynasties fought over it for centuries, and because there were three parties, historians call it the "tripartite struggle".