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".

NCERT frames this as warfare for wealth. Each ruling dynasty was based in a particular region but tried to control other areas, and Kanauj was the greatest prize.

Exam guides add two reasons not stated in the NCERT chapter:

  • It sat in the fertile, populous Ganga valley, rich in land revenue and astride trade routes.
  • It had been Harsha's capital in the seventh century, so holding it carried the prestige of ruling north India.

The chapter also explains how war paid. Kings obtained resources from peasants, cattle-keepers and artisans, collected revenue from traders, and used it to fund the royal establishment, temples and wars. Warfare was in turn expected to bring plunder, land and access to trade routes.

NCERT explains that after the seventh century many new dynasties emerged from big landlords and warrior chiefs. Kings recognised these chiefs as subordinates, and they were expected to:

  • bring gifts to their overlords;
  • attend court;
  • provide military support.

As these chiefs gained power and wealth, some declared independence.

  • Rashtrakutas: they were first subordinate to the Chalukyas of Karnataka. In the mid-eighth century the Rashtrakuta chief Dantidurga overthrew his Chalukya overlord and performed the "golden womb" ritual, meant to make him a Kshatriya by rebirth.
  • Gurjara-Pratiharas: NCERT notes that Harichandra was a Brahmana who gave up his traditional profession and took to arms, founding a kingdom in Rajasthan.

Rulers recorded their achievements in prashastis, inscriptions composed by learned Brahmanas. NCERT cautions that these "may not be literally true" but show how rulers wanted to be seen.

A Sanskrit prashasti found at Gwalior describes the exploits of Nagabhata, a Pratihara king. Among other victories, it claims he won a victory over Chakrayudha, the ruler of Kanauj. That claim sits right inside the tripartite contest.

Kings also rewarded Brahmanas with grants of land, recorded on copper plates.

Administration: NCERT notes that the functionaries who collected revenue were generally recruited from influential families, and their positions were often hereditary. The same was true of the army. In many cases close relatives of the king held these posts, so power stayed within a small circle around the ruler.

The evidence historians use for this period comes mainly from three kinds of source:

  • Prashastis: boastful inscriptions such as Nagabhata's at Gwalior.
  • Copper-plate land grants: they record what was given with the land, from trees and wells to the right to collect taxes.
  • Chronicles: the best known is Kalhana's long Sanskrit poem on the kings of Kashmir. Kalhana used inscriptions, documents, eyewitness accounts and earlier histories. Unlike the prashasti writers, he was often critical of rulers and their policies.

Reading these sources side by side is how historians separate royal claims from what probably happened at Kanauj.

This table is the standard exam-guide account. NCERT's chapter names only Nagabhata and Chakrayudha, so the other names and dates here are not taken from it.

DynastyBaseRulers usually namedRemembered for
PalaBengal and BiharGopala (founder), Dharmapala, DevapalaDharmapala placed Chakrayudha on the Kanauj throne. Dharmapala founded Vikramashila; the Palas were great patrons of Buddhism
Gurjara-PratiharaWestern India (Rajasthan, Malwa)Nagabhata I, Nagabhata II, Mihira BhojaNagabhata II took Kanauj from Chakrayudha. Mihira Bhoja made Kanauj the Pratihara capital. They resisted Arab advances in the west
RashtrakutaDeccan (Manyakheta)Dantidurga (founder), Dhruva, Govinda III, Amoghavarsha, Indra IIIDhruva and Govinda III raided north and defeated both rivals. Indra III sacked Kanauj in the early tenth century. The Kailasa temple at Ellora belongs to this dynasty

Outcome (exam-guide account): the Pratiharas held Kanauj longest, through most of the ninth century. All three powers were worn down by the struggle. As Pratihara power declined in the tenth century, regional successors rose, including the Chahamanas, the Chalukyas of Gujarat and the Gahadavalas.

NCERT carries the story forward:

  • Temples as targets: rulers showed their power by building large temples. When they attacked one another's kingdoms they often targeted temples, which could be extremely rich.
  • Mahmud of Ghazni: he raided the subcontinent 17 times between 1000 and 1025. His targets included the temple at Somnath, and the wealth he carried away built his capital at Ghazni.
  • Chahamanas (Chauhans): they ruled the region around Delhi and Ajmer. They tried to expand west and east, where the Chalukyas of Gujarat and the Gahadavalas of western Uttar Pradesh opposed them.
  • Prithviraja III (1168–1192): he defeated Muhammad Ghori in 1191 but lost to him the next year, in 1192.
  • The three parties were Palas, Pratiharas and Rashtrakutas. The Cholas and Chalukyas were not part of the tripartite struggle.
  • The prize was Kanauj, not Pataliputra or Ujjain.
  • Founders: Dantidurga founded Rashtrakuta power by overthrowing the Chalukyas, and Gopala founded the Pala dynasty.
  • Tarain dates: Prithviraja III beat Ghori in 1191 and lost in 1192. Exam options often swap these two dates.

Related: Delhi Sultanate and Mughals, Indian architecture and sculpture and Mauryas and Guptas.

Q1. The tripartite struggle was fought for control of which city? easy

βœ… Answer: (a) Kanauj

πŸ’‘ Explanation: NCERT says rulers of the Gurjara-Pratihara, Rashtrakuta and Pala dynasties fought for centuries for control over Kanauj.

Q2. Which of these was NOT a party to the tripartite struggle? easy

βœ… Answer: (b) Cholas

πŸ’‘ Explanation: NCERT names only the Gurjara-Pratiharas, Rashtrakutas and Palas as the three parties fighting over Kanauj.

Q3. Which Rashtrakuta chief overthrew his Chalukya overlord in the mid-eighth century? medium

βœ… Answer: (c) Dantidurga

πŸ’‘ Explanation: NCERT says Dantidurga, a Rashtrakuta chief, overthrew his Chalukya overlord in the mid-eighth century.

Q4. The Gwalior prashasti describes the exploits of which Pratihara king? medium

βœ… Answer: (d) Nagabhata

πŸ’‘ Explanation: NCERT quotes a Sanskrit prashasti from Gwalior describing the victories of Nagabhata, a Pratihara king.

Q5. According to the Gwalior prashasti, Nagabhata defeated Chakrayudha, the ruler of: medium

βœ… Answer: (a) Kanauj

πŸ’‘ Explanation: The prashasti claims Nagabhata won a victory over Chakrayudha, the ruler of Kanauj.

Q6. How many times did Mahmud of Ghazni raid the subcontinent? easy

βœ… Answer: (b) 17

πŸ’‘ Explanation: NCERT says Mahmud of Ghazni raided the subcontinent 17 times between 1000 and 1025, targeting wealthy temples.

Q7. Prithviraja III lost to Muhammad Ghori in: medium

βœ… Answer: (c) 1192

πŸ’‘ Explanation: NCERT says Prithviraja III defeated Muhammad Ghori in 1191 but lost to him the very next year, 1192.

Q8. The Chahamanas ruled the region around: medium

βœ… Answer: (d) Delhi and Ajmer

πŸ’‘ Explanation: NCERT says the Chahamanas, later the Chauhans, ruled over the region around Delhi and Ajmer.

What was the tripartite struggle?

It was the centuries-long fight among the Gurjara-Pratiharas, Rashtrakutas and Palas for control of Kanauj in the Ganga valley, named for its three parties.

Why was Kanauj so important?

NCERT calls Kanauj a particularly prized area of the Ganga valley. Exam guides add that it was Harsha's old capital and controlled rich farmland and trade routes.

  • Our Pasts II, Class VII, Chapter 2: Kings and Kingdoms, National Council of Educational Research and Training (NCERT) (accessed 2026-11-07). Used for: New dynasties after the seventh century, Rashtrakutas and Dantidurga, Gurjara-Pratihara Harichandra, revenue and warfare, prashastis and the Nagabhata inscription, Kanauj and the tripartite struggle, Mahmud of Ghazni, Chahamanas and Prithviraja III..

How this page was prepared. Drafted with AI assistance (Claude (Anthropic AI model)) from the sources listed above. 2 calculations on this page were recomputed by software and matched. Automated checks also covered structure, internal links and duplicate text. Software checks cannot confirm facts.

Found an error? Report it and we will correct the page.