By the sixth century BCE, northern India had 16 Mahajanpadas (listed in the Buddhist Anguttara Nikaya) — Kashi, Kosala, Anga, Magadha, Vajji, Malla, Chedi, Vatsa, Kuru, Panchala, Matsya, Shurasena, Ashvaka, Avanti, Gandhara and Kamboja.
Some were monarchies (Magadha, Kosala, Avanti), others ganasanghas (republics) such as the Vajji confederacy with its Lichchhavi clan of Vaishali.
2Why Magadha won
Magadha's advantages: iron ore (south Bihar), fertile Gangetic plains, elephants and forests, control of river trade routes, and ambitious rulers.
Its capital Rajgir (Girivraja) was hill-fortified.
Bimbisara (Haryanka dynasty): a contemporary of the Buddha; matrimonial alliances with Kosala, Vaishali and Madra; conquered Anga; known as Shrenika in Jain texts.
Ajatashatru: son of Bimbisara; defeated the Vajji confederacy after a long war, using the rathamusala and mahashilakantaka engines; the First Buddhist Council was held in his reign.
Udayin: founded Pataliputra (Pataligrama) at the confluence of the Ganga and Son — the site of Magadha's future greatness.
Shishunaga dynasty: destroyed Avanti (its old rival); Kalashoka hosted the Second Buddhist Council (Vaishali).
Nandas:Mahapadma Nanda, called the "second Parashurama" and the "first empire builder"; the last, Dhana Nanda, was ruling when Alexander invaded.
3Persian and Greek invasions
Darius I (c. 516 BCE) annexed Gandhara and Sindh as the satrapy of Hindush — the first foreign contact in this period.
Alexander of Macedon invaded in 326 BCE: at the Battle of Hydaspes (Jhelum) he defeated Porus (Paurava) but restored his kingdom; at the Beas (Vipasa) his army refused to march further east against the Nandas, and he returned through the Indus, dying at Babylon (323 BCE).
The invasion opened the North-Western route and left Greek accounts of India.
4Quick recall
16 Mahajanpadas listed in the Anguttara Nikaya; Vajji and Malla were republics.