Sage Shakti, a devout follower of Lord Shiva, was killed by the demon Udhiran while his wife Tirashanti was pregnant. Their son, Parasara, was born saddened by the loss of his father and the widowhood of his mother. As he grew, Parasara became a great scholar in the Vedas and scriptures. To avenge his father's death, he performed a yajna and successfully destroyed the demon Udhiran. However, after committing the act of killing, he sought atonement by visiting many Shiva temples. At this place, Lord Shiva appeared before him in a handsome form and granted him darshan. At Parasara's request, Lord Shiva remained in this place under the name Sundareswara, meaning "the beautiful one." The Lord is also called Vilwavana Nathar, as the area was once dense with Vilwa trees.