A son locked his own father in a prison cell and let him die there. That same son went on to build the most feared army in northern India. The Haryanka dynasty ruled the kingdom of Magadha through three generations of alliance, betrayal, and conquest. By the time it ended, Magadha stood ready to dominate every rival kingdom around it.
Timeline
- c. 544 BCE: Bimbisara becomes king of Magadha at about age fifteen. He founds the Haryanka dynasty at Rajagriha.
- c. 492 BCE: Ajatashatru imprisons his own father, Bimbisara, and seizes the Magadhan throne.
- 484–468 BCE: The Magadha-Vajji War ends. Ajatashatru destroys Vaishali, capital of the Licchavi-led Vajji confederacy.
- c. 460 BCE: Ajatashatru’s son, Udayin, moves Magadha’s capital to the newly built city of Pataliputra.
- 413 BCE: Ministers depose the last Haryanka king, Nagadasaka, and install Shishunaga, ending the dynasty.
Bimbisara’s Rise and Alliances Need to Know

Magadha was one of the sixteen great Mahajanapadas of ancient India. Read more: AncHist0112 — Magadha (Mahajanapada).
- Bimbisara became king of Magadha around 544 BCE, at just fifteen years old. He succeeded his father, a local chieftain named Bhattiya.
- He made Girivraja, near modern Rajgir in Bihar, his capital. A natural ring of hills protected the city on every side.
- Bimbisara expanded Magadha’s influence through marriage as much as through war. This is often called the first systematic use of matrimonial diplomacy in Indian history.
- He married Kosaladevi, a princess of the powerful kingdom of Kosala. She brought the wealthy region of Kashi with her, as a dowry.
- He also married Chellana, a Licchavi princess from Vaishali, capital of the Vajji confederacy. This alliance secured Magadha’s northern border.
- A third marriage, to Khema of the Madra clan, extended Magadha’s reach toward the Punjab region in the northwest.
- Bimbisara later killed Brahmadatta, the last independent king of Anga, and annexed his kingdom. This gave Magadha the river port of Champa, and access to trade routes toward the Bay of Bengal.
- He became an early, important patron of the Buddha, whom he reportedly met before the Buddha’s enlightenment. He later gifted the Venuvana bamboo grove near Rajgir to the Buddhist community.
Ajatashatru’s Wars Need to Know

- Around 492 BCE, Bimbisara’s son Ajatashatru imprisoned his own father and seized the Magadhan throne.
- Buddhist texts say Ajatashatru starved Bimbisara to death in prison. Jain texts instead say Bimbisara took his own life in despair. Both traditions agree that Ajatashatru imprisoned him.
- After Bimbisara’s death, Kosala’s king Prasenajit reclaimed Kashi, the land his sister Kosaladevi had brought as dowry. This triggered a war between Magadha and Kosala.
- That war ended in a peace treaty. Prasenajit gave his own daughter, Vajira, in marriage to Ajatashatru.
- Ajatashatru then turned against the Vajji confederacy, led by the Licchavis of Vaishali. This war lasted roughly sixteen years, from about 484 to 468 BCE. Read more: AncHist0035 — Vajji / Vriji Confederacy (Mahajanapada).
- He sent his minister Vassakara to Vaishali on a faked falling-out with Magadha. Over three years, Vassakara secretly sowed discord among the Licchavi chiefs, breaking their famous unity from within.
- Ajatashatru’s forces also used new siege weapons. The mahashilakantaka was a catapult that hurled massive stones, and the rathamusala was a war chariot fitted with swinging spiked maces.
- Magadha destroyed Vaishali and annexed the entire Vajji confederacy, ending its independence for good.
Pataliputra and the Two Faiths Good to Know
- Ajatashatru built a small fort at Pataligrama, a village on the Ganges, mainly to defend against the Vajji confederacy.
- His son Udayin later moved Magadha’s full capital there. The site grew into Pataliputra, at the meeting point of the Ganges and Son rivers.
- Both father and son are sometimes credited as Pataliputra’s founder. Ajatashatru built the original fort; Udayin turned it into the actual seat of government.
- Ajatashatru sponsored the First Buddhist Council, held near Rajagriha soon after the Buddha’s death. Monks gathered there to formally recite and preserve the Buddha’s teachings.
- Jain texts describe Ajatashatru as a devoted follower of Mahavira, the twenty-fourth Tirthankara. He reportedly kept informants tracking Mahavira’s movements, out of respect.
- Both Buddhist and Jain traditions claim Ajatashatru as a patron. He ruled during the lifetimes of both the Buddha and Mahavira. Each community’s own texts naturally cast him as sympathetic to their side.
Test Yourself
The Dynasty’s End Great to Know
- After Udayin’s death around 444 BCE, the Haryanka dynasty weakened quickly.
- Several kings after Udayin took the throne by killing their own fathers, continuing the cycle Ajatashatru had started.
- Nagadasaka, the last Haryanka king, had murdered his own father Munda to gain power. His reign lasted from about 437 to 413 BCE.
- The people and ministers of Magadha grew tired of this cycle of violence. In 413 BCE, they deposed Nagadasaka and installed a popular official, Shishunaga, as king instead.
- This founded a new line, the Shishunaga dynasty, ending Haryanka rule after roughly six generations.
- Magadha itself did not decline with the dynasty. It grew stronger under the Shishunagas, then the Nandas, and eventually the Mauryas. Each dynasty built on the territory and capital the Haryankas had first established. Read more: AncHist0053 — The Nanda Dynasty of Magadha.
- The Haryanka dynasty is remembered as Magadha’s first major imperial dynasty. It combined marriage alliances, outright conquest, and military innovation to begin Magadha’s rise over the other Mahajanapadas. Read more: AncHist0008 — The Mahajanapadas and the Rise of Magadha.
Leave a Reply