Śrīmad-Bhāgavatam · Text 9.13.6
Who is speaking and story frame
इत्युत्ससर्ज स्वं देहं निमिरध्यात्मकोविद: ।
मित्रावरुणयोर्जज्ञे उर्वश्यां प्रपितामह: ॥ ६ ॥
ity utsasarja svaṁ dehaṁ
nimir adhyātma-kovidaḥ
mitrā-varuṇayor jajñe
urvaśyāṁ prapitāmahaḥ
After saying this, Mahārāja Nimi, who was expert in the science of spiritual knowledge, gave up his body. Vasiṣṭha, the great-grandfather, gave up his body also, but through the semen discharged by Mitra and Varuṇa when they saw Urvaśī, he was born again.
Read Śrīla Prabhupāda's purport on Vedabase.io