The Mauryan Empire was a large empire in ancient India ruled by the Mauryan dynasty from 322-185 BCE. It was founded by Chandragupta Maurya who defeated the Nanda Empire with the help of his advisor Chanakya. The empire expanded under Emperor Ashoka after he conquered the state of Kalinga, which prompted him to adopt Buddhism. At its height, the Mauryan Empire stretched across most of South Asia and implemented an advanced administrative system governed from its capital of Pataliputra.