Ramayana
नैव सा निर्गमं लेभे जटामण्डलमन्ततः । तत्रैवाबंभ्रमद्देवी संवत्सरगणान्बहून् ॥१-४३-९
- as she could not gain access for an outlet from any edge of the coils of matted hair-tufts of Shiva ( hence she was held there in durance vile ). Goddess Ganga whirled round and round in the coils of tufts alone for many number of years. ॥ 1-43-9॥
english translation
naiva sA nirgamaM lebhe jaTAmaNDalamantataH । tatraivAbaMbhramaddevI saMvatsaragaNAnbahUn ॥1-43-9
hk transliteration by Sanscript