āpas te 'ṅghry-avanejanyas
trīn lokān śucayo 'punan
śirasādhatta yāḥ śarvaḥ
svar yātāḥ sagarātmajāḥ
āpaḥ - the water (namely, the river Ganges); te - Your; aṅghri - of the feet; avanejanyaḥ - coming from the bathing; trīn - the three; lokān - worlds; śucayaḥ - being purely spiritual; apunan - has purified; śirasā - on his head; ādhatta - has taken; yāḥ - which; śarvaḥ - Lord Siva; svaḥ - to heaven; yātāḥ - went; sagara-ātmajāḥ - the sons of King Sagara.