hitva tri-vistapam jagmur
evam-thus; su-mantrita-being well advised; arthah-about duties; te-they (the demigods); guruna-by their spiritual master; artha-anudarsina-whose instructions were quite befitting; hitva-giving up; tri-vistapam-the heavenly kingdom; jagmuh-went; girvanah-the demigods; kama-rupinah-who could assume any form they liked.