After leaving Damayanti, Nala was walking through the jungle when he was bitten by the snake, Karkodaka, and transformed into an ugly person. According to Kathasaritasagara, Alankaravatilambaka, taranga 6, the snake then gave Nala, a blanket called Agnishaucha, which when worn, would transform him back.