<Tr> <Td_colspan="2"> Today part of </Td> <Td> India Bangladesh Nepal </Td> </Tr> <P> Magadha was an ancient Indian kingdom in southern Bihar, and was counted as one of the sixteen Mahajanapadas (Sanskrit: "Great Countries") of ancient India . Magadha played an important role in the development of Jainism and Buddhism, and two of India's greatest empires, the Maurya Empire and Gupta Empire, originated in Magadha . </P> <P> The existence of Magadha is recorded in Vedic texts much earlier in time than 600 BCE . The earliest reference to the Magadha people occurs in the Atharvaveda, where they are found listed along with the Angas, Gandharis and Mujavats . The core of the kingdom was the area of Bihar south of the Ganges; its first capital was Rajagriha (modern Rajgir), then Pataliputra (modern Patna). Rajagriha was initially known as' Girivrijja' and later came to be known as so during the reign of Ajatashatru . Magadha expanded to include most of Bihar and Bengal with the conquest of Vajji confederation and Anga, respectively, The kingdom of Magadha eventually came encompass Bihar, Jharkhand, Orissa, West Bengal, eastern Uttar Pradesh, and the nations of Bangladesh and Nepal . </P> <P> The ancient kingdom of Magadha is heavily mentioned in Jain and Buddhist texts . It is also mentioned in the Ramayana, the Mahabharata and the Puranas . The Mauryan Empire and Gupta Empire, both of which originated in Magadha, saw advancements in ancient India's science, mathematics, astronomy, religion, and philosophy and were considered the Golden Age of India . The Magadha kingdom included republican communities such as the community of Rajakumara . Villages had their own assemblies under their local chiefs called Gramakas . Their administrations were divided into executive, judicial, and military functions . </P>

Where did the first kingdom emerged in india