LegendsAccording to the local legends, when Hanuman was flying to Dunagiri (mountain) which had the life saving herb Sanjeevani to save Lord Rama's brother Lakshmana, he rested in the spot for some time where his temple now lies.