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.

The Sixteen Mahajanapadas — Full List

The Buddhist text Anguttara Nikaya gives a list of sixteen mahajanapadas (the Jain Bhagavati Sutra has a slightly different list), and the Prelims has begun to ask for the region and river of each.

Mahajanapada

Capital (common forms)

Region / river

Type

Anga

Champa

Champa and Ganga; eastern Bihar

Monarchy; easternmost; annexed early by Magadha

Magadha

Rajagriha (Girivraja), later Pataliputra

South Bihar; Ganga and Son

Monarchy

Kashi

Varanasi

Ganga

Monarchy; later conquered by Kosala

Kosala

Shravasti (Ayodhya earlier)

Eastern UP; Sarayu

Monarchy under Prasenajit; later taken by Magadha

Vajji (Vrijji)

Vaishali

North Bihar

Republic; confederacy led by the Lichchhavis

Malla

Kushinara and Pava

Eastern UP

Republic

Chedi

Suktimati

Bundelkhand

Monarchy

Vatsa

Kaushambi

Yamuna near Allahabad

Monarchy

Kuru

Indraprastha (Hastinapur)

Delhi–Meerut doab

Monarchy; Bharata and Puru merged

Panchala

Ahichchhatra and Kampilya

Rohilkhand and the central doab

Monarchy

Machchha (Matsya)

Viratanagara

Jaipur–Alwar region

Monarchy

Surasena

Mathura

Yamuna

Monarchy

Assaka (Ashmaka)

Potana (Potali)

On the Godavari; the only one south of the Vindhyas

Monarchy; southernmost

Avanti

Ujjain (north) and Mahishmati (south)

Malwa

Monarchy; Magadha's great rival

Gandhara

Taxila (Takshashila)

North-west: Peshawar and Rawalpindi

Monarchy

Kamboja

Rajapura (Hataka)

Further north-west; Hindu Kush

Monarchy; northernmost and westernmost

  • Extremes. Kamboja was the northernmost and westernmost, Anga the easternmost and Assaka the southernmost. The republics lay mostly in the Himalayan foothills, the monarchies in the Ganga plain.

  • The 2025 Prelims question. Asked for Asmaka–Godavari, Kamboja–Vipas, Avanti–Mahanadi and Kosala–Sarayu, only Asmaka–Godavari and Kosala–Sarayu are right. Kamboja was in the far north-west, not on the Beas; Avanti was in Malwa, near the Narmada and Shipra, not on the Mahanadi.

Second Urbanisation, Economy and Administration

  • The second urbanisation. After the Harappan cities faded, towns reappeared in the Ganga plain from about the 6th century BCE: Rajagriha, Pataliputra, Kaushambi, Shravasti, Varanasi, Vaishali, Champa. The signature pottery is Northern Black Polished Ware (c. 600–300 BCE), a luxury ware, and the money was the punch-marked coin.

  • The 2026 Prelims question quoted the Pali texts for the first definite references to coins (kahapana, nikkha, kamsa, kakanika) and the finding of silver punch-marked coins at many sites, and asked what this pointed to: the emergence of urban life and a transition to a money economy (both).

  • Administration. Kings now collected regular taxes — a share of the produce called bhaga (traditionally one-sixth), tolls and levies — and kept standing armies and a hierarchy of officers. Buddhist texts mention ministers such as Vassakara, Ajatashatru's minister.

  • Culture of Greater Magadha. Magadha lay on the eastern edge of the Vedic world; Kshatriyas ranked above Brahmins and Vedic rites were not central there. This is the backdrop to the rise of Jainism and Buddhism, both of which began in the eastern Ganga plain.

  • Republics. Governed by assemblies (sangha/gana) of heads of clans, with elected or rotating chiefs (raja); decisions were taken by debate and vote in a santhagara (assembly hall). Monarchies were stronger militarily, and the republics fell one by one to Magadha and later to Mauryan power, though some survived into the Gupta age.

Timeline of Magadha and the Invasions

Date (approx.)

Event

c. 544–492 BCE

Bimbisara (Haryanka) annexes Anga; marriage alliances; capital at Rajagriha

c. 492–460 BCE

Ajatashatru defeats Kosala and the Vajjis; war-engines rathamusala and mahashilakantaka

After Ajatashatru

Udayin founds the fort at Pataliputra, the new capital

c. 5th–4th c. BCE

Sisunaga dynasty destroys Avanti's power; then the Nandas under Mahapadma Nanda (ekarat) conquer Kalinga

516 BCE

Darius I annexes the north-west (Sindh and western Punjab) as the 20th satrapy

326 BCE

Alexander crosses the Indus; submission of Ambhi of Taxila; battle with Porus at the Jhelum (Hydaspes)

326–325 BCE

Mutiny at the Beas (Hyphasis); Alexander returns, leaving governors; his Indian possessions fade within years

c. 322 BCE

Chandragupta Maurya overthrows the last Nanda, Dhana Nanda, with Kautilya's help

Magadha rises; Persians and Greeks come

How Magadha rose while Persians and Greeks reached the north-west.

  • Why Alexander turned back. The sources say that his troops were exhausted after eight years of campaigning and fearful of the vast Nanda army, with its elephants, east of the Beas. The Nanda empire was probably already a power that no ruler from the north-west could easily take on.

  • Effects of the Iranian and Greek contacts. Kharosthi script, the notion of satrapies (later the Shaka kshatrapas), Persian and Greek architectural influences on Mauryan art, Greek colonies in the north-west, and the later Indo-Greek kingdoms.

A Model Mains Answer: Why Did Magadha Become the First Empire?

  • Introduction. By the 4th century BCE, Magadha had absorbed Anga, Kashi, Kosala, the Vajjis, and Avanti and, under the Nandas, controlled most of the Ganga plain.

  • Geography. Rivers (Ganga, Son, Gandak) as highways and defences; the fertile alluvium and rainfall for abundant paddy; Rajagriha's hill ring; Pataliputra as a water-fort.

  • Resources. Iron ore near Rajagriha for weapons and forest clearing; copper and elephants from the east and south; tolls from trade and the first coins.

  • Leadership. Bimbisara's diplomacy, Ajatashatru's military engineering, the Nandas' wealth and army.

  • Society. A less rigid, non-Vedic society in eastern India, open to new ideas and to the new religions that supported long-distance trade.

  • Conclusion. The Mauryas inherited this base and built on it, making Magadha's rise the foundation for Indian imperial history.

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.

How UPSC Has Asked It — And What Could Come Next

  • Seen (Prelims): kingdoms linked to the Buddha's life (2014); territorial region–river pairs (2025); Pali coins, urban life and money economy (2026).

  • Likely next: capitals of the mahajanapadas, republics versus monarchies, Magadha's dynasties, the Nanda army, Alexander's route and battles, the Achaemenid satrapy, the Kharosthi script, NBPW and punch-marked coins, early use of iron.

  • Mains angles: why Magadha rose; the nature of republics; the influence of Iran and Greece; the beginnings of urbanisation; how new religions fit eastern India.

  • Traps: Kosala is on the Sarayu; Assaka alone is south of the Vindhyas; Kamboja is in the north-west; Pataliputra comes after Rajagriha (Udayin); Bimbisara is Haryanka, not Sisunaga; Darius, not Cyrus, annexed Sindh; the revolt of Alexander's army was at the Beas, not the Jhelum.

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.


Q9. The Indian satrapy of the Achaemenid empire is recorded as paying a tribute of:

  • (a) 100 talents of silver

  • (b) 60 talents of gold

  • (c) 360 talents of gold, the richest of all satrapies

  • (d) a tenth of its harvest

Show answer

Answer: (c) — After Darius I annexed Punjab west of the Indus and Sindh in 516 BCE, the Indian satrapy became Iran's richest, paying 360 talents of gold.

UPSC Previous Year Questions (PYQs)

Real UPSC Prelims questions on the mahajanapadas and early urbanisation (2014, 2025, 2026). Answers matched to the official key (2026 provisional). Explanations in our own words.

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


Q11. (UPSC Prelims 2025) With reference to ancient India (600–322 BC), consider the following pairs: Territorial region : River flowing in the region I. Asmaka : Godavari II. Kamboja : Vipas III. Avanti : Mahanadi IV. Kosala : Sarayu How many of the pairs given above are correctly matched?

  • (a) All the four

  • (b) Only two

  • (c) Only three

  • (d) Only one

Show answer

Answer: (b) — Asmaka–Godavari and Kosala–Sarayu are correct. Kamboja lay in the far north-west, not on the Beas (Vipas), and Avanti was in Malwa, not on the Mahanadi.


Q12. (UPSC Prelims 2026, provisional key) Consider the following statements: I. Pali texts contain the first definite references to coins, e.g., kahapana, nikkha, kamsa, and kakanika. II. The literary evidence from Pali texts is corroborated by archaeological evidence of punch-marked coins from many sites, most of them made of silver. The above statements have been associated with which of the following? 1. Emergence of urban life 2. Transition to money economy Select the answer using the code given below:

  • (a) Both 1 and 2

  • (b) Neither 1 nor 2

  • (c) 1 only

  • (d) 2 only

Show answer

Answer: (a) — Pali references to coins together with the punch-marked silver coins point to both the emergence of urban life and the transition to a money economy. (Provisional key.)

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.