Ajatasattu (Pāli Ajātasattu) or Ajatashatru (Sanskrit Ajātaśatru) in Buddhist tradition, or Kunika (Kūṇika) and Kuniya (Kūṇiya) in the Jain histories, (c. 492 to 460 BCE or early 5th century 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 neighbours 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. Ajatashatru occupied Kashi and captured the smaller kingdoms. Magadha under Ajatashatru became the most powerful kingdom in North India. He is the presumed inventor of two weapons used in war: the rathamusala (scythed chariot) and the mahashilakantaka (engine to eject big stones). Based on correlation with dates in the Mahāvaṃsa and concluding that the Buddha died in 483 BC, Arthur Llewellyn Basham dated the accession of Ajatashatru to 491 BC. He estimates the first campaign of Ajatashatru to have taken place in 485 BC, and his second campaign against the Vajjika League in 481–480 BC. The Samaññaphala Sutta states that Ajatashatru visited the six teachers to hear their doctrines and at last visited the Buddha, an event Basham estimated to have taken place in 491 BC. Ajatashatru, also known as Kunika, was the son of Bimbisara. The ancient inscription in Government Museum, Mathura refers to him as vaidehi putra Ajatashatru Kunika "Ajatashatru Kunika, the son of Vaidehi." The story of Ajatashatru is found in the Tripiṭaka of Buddhism and Jain Agamas. The account of Ajatashatru's birth is more or less similar in both the traditions.