Pataliputra (IAST: ), adjacent to modern-day Patna, was a city in ancient India, originally built by Magadha ruler Ajatashatru in 490 BCE, as a small fort () near the Ganges river. Udayin laid the foundation of the city of Pataliputra at the confluence of two rivers, the Son and the Ganges. He shifted his capital from Rajgriha to Pataliputra due to the latter's central location in the empire. It became the capital of major powers in ancient India, such as the Shishunaga Empire (413–345 BCE), Nanda Empire (460 or 420-325 BCE), the Maurya Empire (320–180 BCE), the Gupta Empire (320–550 CE), and the Pala Empire (750–1200 CE). During the Maurya period (see below), it became one of the largest cities in the world. As per the Greek diplomat, traveler and historian Megasthenes, during the Mauryan Empire (320–180 BCE) it was among the first cities in the world to have a highly efficient form of local self government. The location of the site was first identified in modern times in 1892 by Laurence Waddell, published as Discovery Of The Exact Site Of Asoka's Classic Capital. Extensive archaeological excavations have been made in the vicinity of modern Patna. Excavations early in the 20th century around Patna revealed clear evidence of large fortification walls, including reinforcing wooden trusses. In the Sanskrit language, "Pāṭali-" refers to the pāṭalī tree (Bignonia suaveolens), while "-putrá" (पुत्र) means "son". One traditional etymology holds that the city was named after the plant. Indeed, according to the Mahāparinibbāṇa Sutta (Sutta 16 of the Dīgha Nikāya), Pāṭaliputta was the place "where the seedpods of the Pāṭali plant break open". Another tradition says that means the son of , who was the daughter of a certain Raja Sudarsan. As it was originally known as (" village"), some scholars believe that is a transformation of , " town". Pataliputra was also called Kusumapura (city of flowers). There is no mention of Pataliputra in written sources prior to the early Jain and Buddhist texts (the Pali Canon and Āgamas), where it appears as the village of Pataligrama and is omitted from a list of major cities in the region.