Mahajanapadas, the Rise of Magadha & the Iranian and Macedonian Invasions

Start Here β€” From Tribe to State

🎯 Exam priority: Important. This period is the bridge from the Vedic tribes to the Mauryan empire. Prelims tests the republics vs monarchies distinction, the Magadhan rulers, and Alexander/Darius facts; learn the causes of Magadha's rise as a ready Mains-style argument.

From the sixth century BCE, the spread of iron in the eastern Ganga plain produced an agricultural surplus that princes could tax β€” and that surplus built large territorial states. Loyalty shifted from the jana (tribe) to the janapada (territory). Buddhist texts name sixteen mahajanapadas ("great realms"), mostly north of the Vindhyas; the four strongest were Magadha, Kosala, Vatsa and Avanti.

Mahajanapada

Capital

Note

Magadha

Rajgir (Girivraja), later Pataliputra

Eventual victor β€” founded the first empire

Kosala

Sravasti

Absorbed Kasi (Varanasi); home of Ayodhya & the Sakyas

Vatsa

Kausambi

On the Yamuna; a Kuru off-shoot

Avanti

Ujjain / Mahishmati

Magadha's great western rival

Vajji (confederacy)

Vaishali

A republic (gana-sangha) led by the Lichchhavis

Anga

Champa

Annexed early by Magadha

Crucially, not all were monarchies: the Vajji confederacy (led by the Lichchhavis of Vaishali), the Mallas and the Sakyas (of Kapilavastu, the Buddha's clan) were republics (gana-sanghas) β€” among the world's earliest.

The Rise of Magadha I β€” Haryanka & Sisunaga

Magadha's climb to supremacy was the work of ruthless, able kings of three successive dynasties.

  • Bimbisara (Haryanka dynasty, c. 544–492 BCE) β€” a contemporary of the Buddha. He began Magadha's expansion: he annexed Anga and used marriage diplomacy, wedding princesses of Kosala, the Lichchhavis (Chellana) and the Madra clan of Punjab to secure his flanks. His capital was Rajgir (Girivraja), ringed by five hills.

  • Ajatasatru (c. 492–460 BCE) β€” seized the throne by killing Bimbisara. He defeated Kosala and, after a 16-year struggle, crushed the Vajji confederacy of Vaishali, using two new war-engines: the rathamusala (a mace-fitted chariot) and the mahashilakantaka (a stone-throwing catapult).

  • Udayin built a fort at the confluence of the Ganga and Son β€” the founding of Pataliputra (Patna), which became Magadha's capital. The later Sisunaga dynasty finally destroyed the long rival Avanti.

The Rise of Magadha II β€” The Nandas

The Sisunagas gave way to the Nanda dynasty, the most powerful of all and the real forerunners of empire. Mahapadma Nanda styled himself ekarat (the sole sovereign) and the "destroyer of all the kshatriyas" β€” often seen as the first non-Kshatriya, near-pan-north-Indian empire-builder. He conquered Kalinga, carrying off a Jina image as a war-trophy.

The Nandas were fabulously rich and kept a colossal army β€” Greek sources report 200,000 infantry, 60,000 cavalry and 6,000 war-elephants. It was precisely this Nanda power on the Ganga that deterred Alexander's soldiers from advancing east. The last Nanda, Dhana Nanda, grew unpopular and was overthrown by Chandragupta Maurya β€” opening the Mauryan age (next article).

Why Magadha Won β€” the Causes

Able kings alone don't explain Magadha's triumph. Several structural advantages did β€” a favourite Mains theme:

  • Iron. The richest iron-ore deposits lay near Rajgir, giving Magadha better weapons than its rivals.

  • Strategic capitals. Rajgir was made impregnable by its five hills; Pataliputra, sitting at the confluence of the Ganga, Son and Gandak, was a true water-fort (jaladurga) commanding river routes in every direction.

  • Fertile alluvium & rainfall. The middle Ganga plain produced abundant paddy without irrigation, yielding the surplus that funded armies.

  • War-elephants. The eastern forests let Magadha deploy elephants on a large scale β€” decisive for storming forts.

  • Trade, towns & coins let rulers levy tolls; and an unorthodox, recently-Aryanised society was more expansionist than the conservative west.

The Iranian (Achaemenid) Invasion

While Magadha rose in the east, the disunited north-west (Kambojas, Gandharas, Madras) lay open to invasion. The Achaemenid (Persian) emperor Darius I annexed Punjab west of the Indus and Sindh in 516 BCE, making it the twentieth satrapy of the Iranian empire β€” its richest and most populous province, paying a tribute of 360 talents of gold (a third of Iran's Asian revenue). Xerxes later used Indian troops against the Greeks.

What the 200-year contact left behind

  • The Kharosthi script (written right-to-left), used in some of Asoka's north-western edicts down to the 3rd c. CE.

  • Iranian influence on Mauryan art (the bell-shaped pillar capitals) and on Asoka's edicts β€” the word lipi derives from the Iranian dipi.

  • It also carried word of India's wealth to the Greeks β€” whetting the appetite that brought Alexander.

Alexander's Invasion & Its Effects

Having destroyed the Persian empire, Alexander of Macedon crossed the Khyber Pass into India in 326 BCE, drawn by its fabled riches. The fragmented north-west fell easily: Ambhi of Taxila submitted at once, but Porus, whose kingdom lay between the Jhelum and Chenab, gave fierce battle at the Battle of the Hydaspes (Jhelum), 326 BCE. Alexander defeated him yet, impressed, restored his kingdom.

  • At the Beas (Hyphasis), Alexander's war-weary army mutinied and refused to go further β€” wary of the mighty Nanda army on the Ganga. He was forced to turn back, his dream of an eastern empire unfulfilled, after about 19 months (326–325 BCE) in India.

  • Effects: the first direct contact between India and the Greek world; new land and sea trade routes and Greek settlements; and the Greek accounts that help fix Indian chronology. His Indian possessions were soon absorbed by Chandragupta Maurya.

Why this matters for UPSC

  • Prelims drills the republics (Vajji, Malla, Sakya), the Magadhan kings & capitals, and the Darius/Alexander facts (516 BCE, 20th satrapy; Khyber, Porus, Beas).

  • The causes of Magadha's rise is a classic analytical answer β€” geography, iron, elephants and surplus, not just able kings.

Further Reading

  • Standard NCERT-level texts and reference books on ancient, medieval and cultural Indian history (any UPSC reading list).

Test Yourself: Practice Questions & PYQs

This period rewards knowing the republics, the Magadhan rulers, and the Darius/Alexander facts. Commit to an answer before revealing each.

Practice Questions

Q1. The sixteen large states of the sixth century BCE, named in Buddhist texts, are called:

  • (a) Gana-sanghas

  • (b) Janapadas

  • (c) Rashtras

  • (d) Mahajanapadas

Show answer

Answer: (d) β€” The sixteen 'great realms' are the mahajanapadas; the strongest were Magadha, Kosala, Vatsa and Avanti.


Q2. Which of these was a republic (gana-sangha) rather than a monarchy?

  • (a) Kosala

  • (b) Avanti

  • (c) The Vajji confederacy of Vaishali

  • (d) Magadha

Show answer

Answer: (c) β€” The Vajji confederacy (led by the Lichchhavis of Vaishali), like the Mallas and Sakyas, was a republic β€” among the world's earliest.


Q3. Bimbisara of the Haryanka dynasty expanded Magadha mainly by:

  • (a) Issuing gold coins

  • (b) Naval conquest

  • (c) Marriage alliances and annexing Anga

  • (d) Building rock-cut caves

Show answer

Answer: (c) β€” Bimbisara annexed Anga and secured his position through marriage alliances with Kosala, the Lichchhavis and the Madras.


Q4. The city of Pataliputra (Patna), at the confluence of the Ganga and Son, was first fortified by:

  • (a) Chandragupta Maurya

  • (b) Bimbisara

  • (c) Ajatasatru's successor Udayin

  • (d) Mahapadma Nanda

Show answer

Answer: (c) β€” Udayin built the fort at the Ganga–Son confluence, founding Pataliputra, which became Magadha's capital.


Q5. Mahapadma Nanda is notable for styling himself 'ekarat' and for conquering:

  • (a) Sri Lanka

  • (b) Gandhara

  • (c) Kalinga

  • (d) Sindh

Show answer

Answer: (c) β€” Mahapadma Nanda called himself ekarat (sole sovereign) and conquered Kalinga, carrying off a Jina image as a trophy.


Q6. Which was NOT among the causes of Magadha's rise?

  • (a) The strategic water-fort of Pataliputra

  • (b) Control of the maritime spice trade with Rome

  • (c) Rich iron-ore deposits near Rajgir

  • (d) Large-scale use of war-elephants

Show answer

Answer: (b) β€” Roman maritime trade is much later (post-Mauryan). Magadha rose on iron, elephants, fertile alluvium and strategic capitals.


Q7. The Achaemenid (Persian) ruler who annexed the north-west as the twentieth satrapy in 516 BCE was:

  • (a) Cambyses

  • (b) Cyrus

  • (c) Xerxes

  • (d) Darius I

Show answer

Answer: (d) β€” Darius I annexed Punjab west of the Indus and Sindh in 516 BCE; it became the richest (20th) satrapy, paying 360 talents of gold.


Q8. Alexander's eastward advance was halted when his army mutinied at the river:

  • (a) Jhelum (Hydaspes)

  • (b) Beas (Hyphasis)

  • (c) Indus

  • (d) Chenab

Show answer

Answer: (b) β€” At the Beas (Hyphasis), the war-weary Greek army refused to advance β€” wary of the Nanda power on the Ganga β€” forcing Alexander to retreat. He had defeated Porus earlier at the Jhelum.

UPSC Previous Year Questions (PYQs)

A genuine UPSC Prelims question linking the mahajanapadas to the Buddha's life. Explanation in our own words.

Q9. Which of the following kingdoms were associated with the life of the Buddha? (1) Avanti (2) Gandhara (3) Kosala (4) Magadha. Select the correct answer: (UPSC Prelims 2014)

  • (a) 2 and 4

  • (b) 3 and 4 only

  • (c) 1, 2 and 3

  • (d) 1, 3 and 4

Show answer

Answer: (b) β€” Kosala (Sravasti) and Magadha (Rajgir) are the kingdoms most closely associated with the Buddha's life and ministry; Avanti and Gandhara are not.

Mains Practice Questions

Use these to frame full-length answers. You don't have to answer one exactly β€” they show the angles UPSC tests, so let them guide which points you cover.

  • Account for the rise of Magadha as the first empire of India β€” was it geography, iron and elephants, or able kings?

  • Distinguish the republics (gana-sanghas) from the monarchies among the mahajanapadas, and assess their significance.

  • Examine the cultural and political consequences of the Iranian and Macedonian invasions of north-west India.