Śrīmad-Bhāgavatam · Texts 4.20.35-36
Who is speaking and story frame
देवर्षिपितृगन्धर्वसिद्धचारणपन्नगा: ।
किन्नराप्सरसो मर्त्या: खगा भूतान्यनेकश: ॥ ३५ ॥
यज्ञेश्वरधिया राज्ञा वाग्वित्ताञ्जलिभक्तित: ।
सभाजिता ययु: सर्वे वैकुण्ठानुगतास्तत: ॥ ३६ ॥
devarṣi-pitṛ-gandharva-
siddha-cāraṇa-pannagāḥ
kinnarāpsaraso martyāḥ
khagā bhūtāny anekaśaḥ
yajñeśvara-dhiyā rājñā
vāg-vittāñjali-bhaktitaḥ
sabhājitā yayuḥ sarve
vaikuṇṭhānugatās tataḥ
King Pṛthu worshiped the demigods, the great sages, the inhabitants of Pitṛloka, the inhabitants of Gandharvaloka, and those of Siddhaloka, Cāraṇaloka, Pannagaloka, Kinnaraloka, Apsaroloka, the earthly planets and the planets of the birds. He also worshiped many other living entities who presented themselves in the sacrificial arena. With folded hands he worshiped all these, as well as the Supreme Personality of Godhead and the personal associates of the Lord, by offering sweet words and as much wealth as possible. After this function, they all went back to their respective abodes, following in the footsteps of Lord Viṣṇu.
Read Śrīla Prabhupāda's purport on Vedabase.io