Śrīmad-Bhāgavatam · Text 1.18.3
Who is speaking and story frame
उत्सृज्य सर्वत: सङ्गं विज्ञाताजितसंस्थिति: ।
वैयासकेर्जहौ शिष्यो गङ्गायां स्वं कलेवरम् ॥ ३ ॥
utsṛjya sarvataḥ saṅgaṁ
vijñātājita-saṁsthitiḥ
vaiyāsaker jahau śiṣyo
gaṅgāyāṁ svaṁ kalevaram
Furthermore, after leaving all his associates, the King surrendered himself as a disciple to the son of Vyāsa [Śukadeva Gosvāmī], and thus he was able to understand the actual position of the Personality of Godhead, and at last gave up his material body on the bank of the Ganges.
Read Śrīla Prabhupāda's purport on Vedabase.io