Chandragupta entered the capital of the Magadha kingdom, Pataliputra, where he triggered a civil war using Kautilya Chanakya's intelligence network. In 322 BCE he finally seized the throne putting an end to the Nanda dynasty, and he established the Mauryan Dynasty which would rule India until 185 BCE.