Task: Text Categorization
Input (English): This ruler was denied the help of Dhana, and this ruler was was able to secure the alliance of Parvatka, which helped him to defeat the general Bhadrasala. This man conquered Assam, and this man was the recipient of the Ambassador Megasthenes. This mans advisor Chanakya wrote the Arthashastra and helped this ruler come to power, and this man fought Eudemus and Peithon as part of his general campaign to rid northwestern India of Alexandrian rulers. That campaign also included this rulers defeat of Seleucus Nicator. Bindasaura succeeded this man, who converted to Jainism and starved himself to death. For ten points, identify this grandfather of Ashoka, who defeated the Nanda dynasty to found the Mauryan dynasty in India.
Output (English): History