Pataliputra was an ancient city in modern-day Patna, India that served as the capital of several successive dynasties from the Nandas to the Guptas due to its central location. Situated at the confluence of major rivers, it dominated riverine trade and was a major commercial center. During the reign of Emperor Ashoka in the 3rd century BCE, Pataliputra was one of the world's largest cities, with a population between 150,000-400,000 people spread over 25.5 square kilometers. It was well-fortified with walls, towers, gates and a surrounding ditch for defense.