While describing the reigns of the notable rulers of the Kali era (kaliyuga), Bhāgavatpurāṇa (Bhagavatpurana) mentions that in kaliyuga the kngdom of Magadha would be ruled by a lowly-born (śūdra; sudra) king called Bali after the fall of the Śuṅga (Sunga) and Kaṇva (Kanwa) dynasties in Magadha. Aniṣṭakarmā (Anishtakarma) was a scion of this lineage, the son of Aṭamān (Ataman) and father of Hāleya.