Ajatasattu (Pāli: Ajātasattu) or Ajatashatru (Sanskrit: Ajātaśatru) in the Buddhist tradition, or Kunika (Kūṇika) and Kuniya (Kūṇiya) in the Jain tradition (reigned c. 492 to 460 BCE, or c. 405 to 373 BCE), was one of the most important kings of the Haryanka dynasty of Magadha in East India. He was the son of King Bimbisara and was a contemporary of both Mahavira and Gautama Buddha. He forcefully took over the kingdom of Magadha from his father and imprisoned him. He fought a war against the Vajjika League, led by the Licchavis, and conquered the republic of Vaishali. The city of Pataliputra was formed by fortification of a village by Ajatashatru.
Ajatashatru followed policies of conquest and expansion. He defeated his neighbouring rivals including the king of Kosala; his brothers, at odds with him, went to Kashi, which had been given to Bimbisara as dowry and led to a war between Magadha and Kosala.