The arrival of Supriya caused a revolution. He set up a lingam and made the prisoners recite the mantra Om Namaha Shivay in honour of Shiva while he prayed to the lingam. The demons' response to the chanting was to attempt to kill Supriya, though they were thwarted when Shiva appeared and handed him a divine weapon that saved his life. Daruka and the demons were defeated and Parvati saved the remaining demons. The lingam that Supriya had set up was called Nagesha; it is the tenth lingam. Shiva once again assumed the form of a Jyotirlinga with the name Nageshwar, while the Goddess Parvati was known as Nageshwari. Lord Shiva then announced that he would show the correct path to those who would worship him.