Śrīmad-Bhāgavatam · Text 4.23.13
Who is speaking and story frame
एवं स वीरप्रवर: संयोज्यात्मानमात्मनि ।
ब्रह्मभूतो दृढं काले तत्याज स्वं कलेवरम् ॥ १३ ॥
evaṁ sa vīra-pravaraḥ
saṁyojyātmānam ātmani
brahma-bhūto dṛḍhaṁ kāle
tatyāja svaṁ kalevaram
In due course of time, when Pṛthu Mahārāja was to give up his body, he fixed his mind firmly upon the lotus feet of Kṛṣṇa, and thus, completely situated on the brahma-bhūta platform, he gave up the material body.
Read Śrīla Prabhupāda's purport on Vedabase.io