Sri Rama selected this beautiful valley surrounded by hills and verdant greenery for the purpose and ordered Hanuman to bring a Sivlingam from Varanasi. Hanuman was late in arriving with the Siva lingam and as the auspicious hour was nearing, Lord Siva himself appeared before Sri Rama and presented a Sivilingam for installation. Hence the lingam in the temple is called Swayambhu Linga. It is also called Ramalingeswara as lord Sri Rama had installed the lingam. Hanuman returned with 101 lingams for selection from Varanasi and felt aggrieved at not having his lingam installed. Hence he threw them all over the area. Even to this day several lingams are found scattered all over the place outside the temple.