Following Alexander the Great's death in Babylon in 323 BC, his vast empire began to disintegrate. In India, this period saw the rise of Chandragupta Maurya. With the guidance and strategic acumen of his mentor Chanakya (also known as Kautilya), Chandragupta built an army, overthrew the unpopular Nanda dynasty in Magadha, and subsequently campaigned against the Greek garrisons left in the northwestern territories by Alexander. They successfully roused the local population against foreign rule and consolidated power, laying the foundation of the vast Mauryan Empire.