An encyclopedia of Indian civilization.

Warfare in ancient India

Warfare in ancient India spans the tribal conflicts described in the Rigveda and the epics through the large standing armies, war elephants, and dynastic campaigns of the Mahājanapada, Mauryan, and post-Mauryan periods, down to roughly the fourth century CE.


Sources and historiography

Evidence for warfare in ancient India comes in three distinct kinds, of very different reliability. Legendary and epic narrative — the Rigveda's Battle of the Ten Kings, the Mahābhārata's Kurukshetra war — preserves what look like folk memories of real conflicts elaborated over centuries of oral and literary transmission, but neither event can be dated or verified externally with any precision. Near-contemporary textual and inscriptional material is far more solid: the Pāli Buddhist canon and Jātaka tales for the Mahājanapada period, Ashoka's own rock and pillar edicts, the Hāthīgumphā inscription of Khāravela, and the Junāgaḍh rock inscription of Rudradāman I. Foreign accounts add a third layer — Greek historians such as Arrian, Plutarch, and Curtius on Alexander's Indian campaign, and the Greek ambassador Megasthenes' now-fragmentary account of Mauryan military organization, preserved through later quotation.

Vedic-age conflicts

The Dāśarājña, or Battle of the Ten Kings, is described in a hymn of the Rigveda's seventh book (7.18), traditionally associated with the seer Vasiṣṭha, celebrating King Sudās of the Bharata tribe defeating a confederacy of rival tribes — among them the Pūru, Yadu, Druhyu, Turvaśa, and Anu — on the banks of the Paruṣṇī, identified with the modern Ravi river in Punjab. Its date is not fixed by any external evidence and is usually placed only broadly within the mid-to-late second millennium BCE; even so it is one of the very few Vedic-era events with a near-contemporary textual record, rather than one reconstructed centuries later. Its outcome established Bharata dominance in the region and fed into the later rise of the Kuru realm on the upper Gangetic plain.

The Kurukshetra War of the Mahābhārata, fought between the Pāṇḍava and Kaurava branches of the Kuru dynasty at Kurukshetra in present-day Haryana, is the central event of Indian epic tradition, but its historicity and date remain genuinely unresolved. Traditional and astronomical reckonings have proposed dates ranging from the third millennium BCE to around 1000 BCE, and most historians treat the war, if it reflects any real event at all, as a distant and much-elaborated memory of conflict within the Kuru lineage rather than a precisely datable battle.

The Mahājanapada wars

By the sixth century BCE, sixteen major states (mahājanapadas) contended across northern India, and Magadha's rise to dominance among them was driven substantially by war. Under Bimbisāra, whose reign is traditionally placed in the sixth century BCE, Magadha expanded through a combination of marriage alliance and conquest, absorbing the neighbouring kingdom of Aṅga. His successor Ajātaśatru fought a series of wars that extended Magadhan power decisively: against Kosala, ruled by his own maternal uncle Prasenajit; and against the Vajji confederacy, led by the Licchavis of Vaiśālī, in a protracted conflict that Buddhist tradition credits Ajātaśatru's minister Vassakāra with undermining from within — sowing distrust among the confederated clans — before Magadha finally overran them. The Pāli Mahāparinibbāna Sutta depicts the Buddha himself commenting on this very war shortly before his death. Magadha also absorbed the rival kingdom of Avanti, centred on Ujjayinī, during the following Śiśunāga dynasty period. These campaigns set the template for the far larger Magadhan-centred empires — Nanda, then Maurya — that followed.

Alexander's campaign and Porus

Alexander the Great's invasion of northwestern India culminated in the Battle of the Hydaspes in 326 BCE, fought against King Porus (Paurava) on the banks of the Jhelum river in modern Pakistan. Porus's war elephants disrupted Alexander's cavalry and made the battle unusually costly, and Alexander, impressed by his opponent's conduct, restored Porus's kingdom to him and expanded it. Shortly afterward, at the Hyphasis (Beas) river, Alexander's exhausted troops mutinied and refused to advance further into the territory of the powerful Nanda Empire, ending the eastward campaign. The invasion opened the northwest to lasting Hellenistic cultural contact — the Indo-Greek kingdoms of the following centuries grew out of this contact — and later tradition, though not firmly documented history, connects the young Chandragupta Maurya's ambitions to witnessing Alexander's campaign at close hand.

The Mauryan wars

Chandragupta Maurya overthrew the Nanda dynasty around 322–321 BCE with the guidance of his advisor Kauṭilya (Cāṇakya) — an overthrow later dramatized, many centuries afterward, in Viśākhadatta's Sanskrit political drama Mudrārākṣasa. Around 305 BCE, Chandragupta then repelled an invasion by Seleucus I Nicator, one of Alexander's successors; the resulting treaty ceded Seleucus's claims over the Hindu Kush and Gandhāra region to the Mauryas in exchange for, according to Greek sources, some five hundred war elephants, cementing the young Mauryan Empire's northwestern border and supplying elephants Seleucus later used against his own rivals in the west.

Ashoka's conquest of Kaliṅga in 261 BCE is the best-documented war of ancient India, recorded not by a later chronicler but by Ashoka himself, in his Thirteenth Major Rock Edict, which states that some 100,000 were killed in the fighting and 150,000 deported — figures the edict presents as the emperor's own reckoning. The edict goes on to describe Ashoka's remorse at the bloodshed and his consequent turn toward Buddhism and the promotion of dhamma, moral governance, including the dispatch of missions to spread Buddhist teaching within and beyond his empire.

Post-Mauryan successor states and invasions

The Mauryan Empire ended around 185–184 BCE when its last ruler, Bṛhadratha, was assassinated by his own military commander, Puṣyamitra Śuṅga, while reviewing his troops — a scene later described in Bāṇa's seventh-century Harṣacarita — founding the Śuṅga dynasty. Indo-Greek kings, among them Menander I (Milinda), pushed into the Gangetic plain during the earlier second century BCE; the grammarian Patañjali's Mahābhāṣya records a Yavana (Greek) siege of Sāketa and Mādhyamikā from this period, though no single decisive battle is recorded, and the Indo-Greeks ultimately consolidated into separate kingdoms in the northwest rather than holding the Gangetic heartland.

Successive waves of Central Asian peoples followed the Indo-Greeks into the subcontinent: the Śaka (Scythian) rulers who founded the Western Kṣatrapa dynasties of Gujarat and Malwa fought a long rivalry with the Sātavāhanas of the Deccan, in which Nahapāna's defeat by Gautamīputra Sātakarṇi around 124 CE was later reversed by Rudradāman I, as recorded in Rudradāman's own Junāgaḍh rock inscription of around 150 CE. The Kushans, under rulers including Kujula Kadphises and later Kaniṣka (whose era is conventionally, though not universally, dated from 127 or 78 CE), absorbed Indo-Greek and Indo-Scythian territory across Bactria and Gandhāra and pushed into the Gangetic plain, becoming a major Silk Road power. In the east, Khāravela of Kaliṅga, known chiefly from his own Hāthīgumphā inscription at Udayagiri in Odisha, campaigned against Sātavāhana territory and as far south as the Tamil country, and records a symbolic strike into Magadha to recover a Jain image reportedly carried off by an earlier Nanda-era king; his precise dates remain disputed, with estimates ranging across the first century BCE.

In the far south, recurring wars among the Chera, Chola, and Pandya kingdoms of Tamilakam are recorded not in Sanskrit or Prakrit inscriptions but in early Tamil Saṅgam poetry — anthologies such as the Puṟanāṉūṟu preserve praise-poems composed for warrior-kings and their battles, including early Chola contact and conflict with the kingdom of Anuradhapura in Sri Lanka.

Military organization and technology

Ancient Indian armies were conventionally organized around caturaṅga-bala, the "four-limbed force": infantry (padāti), cavalry (aśva), war elephants (gaja), and chariots (ratha). This same fourfold division gave its name, and its pieces, to caturaṅga, the board game that emerged in India by around the Gupta period and is the ancestor of chess. War elephants were ancient India's most distinctive military contribution, used at scale from at least the Nanda and Mauryan periods onward and prized enough that Hellenistic kingdoms imported them for their own campaigns, most famously in battles such as Ipsus and Raphia in the eastern Mediterranean world.

Kauṭilya's Arthaśāstra sets out a sophisticated theory of statecraft governing when and how to go to war, the ṣāḍguṇya or "six measures": peace, war, staying quiet, marching out, seeking shelter with a stronger power, and a dual policy of allying with one power while warring against another. The same text details fortification (durga) — moats, ramparts, and gatehouses — matched by the archaeological record of fortified early cities such as Kauśāmbī and Rājagṛha.

Alongside this pragmatic literature, epic and legal texts articulate an idealized code of dharma-yuddha, "righteous war" — no attacking an unarmed or fleeing enemy, no striking below the belt, fighting to cease at sundown — set against a more pragmatic acceptance, especially in the Arthaśāstra, of kūṭa-yuddha, "crooked war," ambush and deception as legitimate tools of statecraft. The tension between the two runs through the epic tradition itself, from the disputed killing of Vālī in the Rāmāyaṇa to Kṛṣṇa's repeated counsel of deception at Kurukshetra in the Mahābhārata.

Further reading

  • Basham, A. L. The Wonder That Was India. Sidgwick & Jackson, 1954
  • Thapar, Romila. Early India: From the Origins to AD 1300. Penguin, 2002
  • Wolpert, Stanley. A New History of India. Oxford University Press, 2009

See also

This entry was last revised on 4 August 2026.