Srimad-Bhagavatam: Canto 10 - Chapter 1 - Verse 46


सहदेवं तत्तनयं भगवान् भूतभावन: ।अभ्यषिञ्चदमेयात्मा मगधानां पतिं प्रभु: ।मोचयामास राजन्यान्संरुद्धा मागधेन ये ॥ ४६ ॥


sahadevaṁ tat-tanayaṁbhagavān bhūta-bhāvanaḥabhyaṣiñcad ameyātmāmagadhānāṁ patiṁ prabhuḥmocayām āsa rājanyānsaṁruddhā māgadhena ye


The immeasurable Supreme Personality of Godhead, the sustainer and benefactor of all living beings, coronated Jarāsandha’s son, Sahadeva, as the new ruler of the Magadhas. The Lord then freed all the kings Jarāsandha had imprisoned.


Śrīla Prabhupāda writes: “Although Jarāsandha was killed, neither Kṛṣṇa nor the two Pāṇḍava brothers made a claim to the throne. Their purpose in killing Jarāsandha was to stop him from creating a disturbance to the proper discharge of world peace. A demon always creates disturbances, whereas a demigod always tries to keep peace in the world. The mission of Lord Kṛṣṇa is to give protection to the righteous persons and to kill the demons who disturb a peaceful situation. Therefore Lord Kṛṣṇa immediately called for the son of Jarāsandha, whose name was Sahadeva, and with due ritualistic ceremonies the Lord asked him to occupy the seat of his father and reign over the kingdom peacefully. Lord Kṛṣṇa is the master of the whole cosmic creation, and He wants everyone to live peacefully and execute Kṛṣṇa consciousness. After installing Sahadeva on the throne, He released all the kings and princes who had been imprisoned unnecessarily by Jarāsandha.”