When the time came, Indra came to get her, war between King and Indra started. It went on for too long and no result came out. Then Indra took help from Lord Vishnu and defeated the King. Then Urvashi cursed king with Leprosy. Lord Vishnu told the king a solution to his cursed body. He asked him to go to sea coast and wait there. Lord Vishnu's statue would come floating in the sea there. On seeing the statue, his curse will get over.