hill on which the temple is built is called Ratnagiri, and the small river that encircles
the hill is called Pampa after the famous lake of the Ramayana.
A mahatmya of the temple was written in recent times by a great Telugu
poet, and e referred to this Pampa river as Viraja of Goloka who Melted in her ecstasy of
faith, and took the shape of this rivulet to remain eternally in the presence of the Lord,
and dedicated herself to the services of the Lord by ever washing his feet with her holy
There is an interesting and popular legend about the discovery
of the main idol of the Lord. The legend goes that the Lord revealed himself in a dream,
where he told the local people that his vigraha was left abandoned on the hill without
worship and that the local people must trace it and reconsecrates it.
Thereupon, all the local residents and the then zamindars
searched and discovered the idol at the foot of a tree. The worship was performed and the
idol was installed a little higher at the present spot. The holy ground where Sri Ramalaya
now covers the tree under which the idol of the Lord was discovered a little to the north
east of the main Temple.