One verse

Srimad Bhagavatam 9.14.49

9.14.49

पुरूरवस एवासीत् त्रयी त्रेतामुखे नृप । अग्निना प्रजया राजा लोकं गान्धर्वमेयिवान् ॥ ४९ ॥

pururavasa evasit trayi treta-mukhe nrpa agnina prajaya raja lokam gandharvam eyivan

pururavasah
from King Pururava
eva
thus
asit
there was
trayi
the Vedic principles of karma, jnana and upasana
treta-mukhe
in the beginning of the Treta-yuga
nrpa
O King Pariksit
agnina
simply by generating the fire of sacrifice
prajaya
by his son
raja
King Pururava
lokam
to the plane
gandharvam
of the Gandharvas
eyivan
achieved.

O Maharaja Pariksit, at the beginning of Treta-yuga, King Pururava inaugurated a karma-kanda sacrifice. Thus Pururava, who considered the yajnic fire his son, was able to go to Gandharvaloka as he desired.