The Personality of Godhead, Ajita, grasped the front portion of the snake, and then the demigods followed.
Srimad Bhagavata Purana
श्रीमद्भागवतमहापुराणम्
मूल श्लोकः
आरेभिरे सुसंयत्ता अमृतार्थे कुरूद्वह । हरिः पुरस्ताज्जगृहे पूर्वं देवास्ततोऽभवन्
ārebhire susaṃyattā amṛtārthe kurūdvaha | hariḥ purastājjagṛhe pūrvaṃ devāstato'bhavan
SB 8.7.2