When Shukra serves as the counsellor of the daitya king Vrishaparvan, Devayani becomes a friend of Sharmishtha, a princess, and the daughter of the daitya king. One day, the two go for a bath in a forest brook, accompanied by their retinue of maids, leaving their clothes on the bank of the stream. While they bathe, Indra manifests himself as a wind, blowing their garments off the banks. In their hurry to retrieve their clothes, the two women don each other's saris. A quarrel ensues between the friends, and insults are exchanged regarding each other's fathers. In the ensuing quarrel, Sharmishtha and her maids throw Devayani into a well, leaving her for dead. Devayani is rescued by Yayati, a king of the Chandravamsha dynasty, who enquires regarding her identity, and returns to his kingdom.Devayani sends Ghurnika, her maid, to her father, conveying the news of her quarrel and dire circumstances. Shukra is furious with Vrishaparvan, and settles down in the forest with his daughter. When the daitya king begs for the acharya's forgiveness in person, Shukra demands that one thousand servants, along with Sharmishtha, are required to serve Devayani as an apology. Fearing the sage's wrath, the king concedes, and sends his daughter and one thousand women to serve Devayani in the forest. After a period of time, Devayani returns to the same forest, along with Sharmishtha and her other servants. Yayati comes to the spot for hunting, and they meet again. The king and the Brahmana's daughter fall in love, and so the former asks for Devayani's hand from Shukra, as was custom. Shukra offers his consent readily, but warns Yayati that he is not to have nuptial relations with Sharmishtha. Yayati marries Devayani, and looks after her well in his palace. Yayati sires two sons, Yadu and Turvasu, with Devyani. Unbeknownst to her, he secretly engages in an affair with Sharmishta as well, and has three sons by her: Druhyu, Anudruhyu, and Puru. When Devayani learns of her husband's infidelity, she leaves him, and returns to her father's place. Shukra curses his son-in-law with premature old age. However, upon hearing Yayati's pleas, he agrees to alter it so that Yayati could swap his old age with the youth of any of his young sons. Yayati swaps his youth with his fifth son, Puru. After a thousand years of enjoying his sensuous youth with his two wives, he receives