As per Hindu legend, Chandra (moon god) is believed to have worshipped Shiva in the place and Shiva appeared for him. As per another legend, Garuda, Vishnu's eagle vehicle, carried nectar to cure his mother and was intercepted by demons. Three drops of nectar fell from his pot and they became the lingam, goddess and a holy spring. Garuda took a holy dip in the spring and won the battle. The spring is called Jadayu Theertham.