Chanakya - also called Kautilya or Vishnugupta - was a Brahmin professor at the university of Taxila. The Nanda kings had insulted him at their court, and Chanakya had sworn to destroy them.
He found Chandragupta, a young man of obscure birth, playing "king" with his friends in the forest - and in his play, Chanakya saw a natural king: decisive, commanding, listened to without demanding it.
Chanakya became Chandragupta's teacher, strategist, and minister. He trained him in statecraft, warfare, economics, and statecraft described in his great work the Arthashastra.
In 321 BCE, Chandragupta overthrew the Nanda dynasty and established the Maurya Empire - the first to unify most of the Indian subcontinent under a single rule.
Chanakya remained his chief minister. He was incorruptible, brilliant, and utterly devoted to the idea of a just state - not to Chandragupta personally, but to the institution of good governance.
Chanakya wrote: "The king's happiness is in the happiness of his subjects. The king's welfare is in the welfare of his subjects. The king should not think what pleases him - he should think what pleases his subjects."
When Chandragupta eventually abdicated the throne to become a Jain monk and fast unto death at Shravanabelagola, Chanakya retired to the forest. The student had exceeded the teacher. The empire endured.