This temple is known as Hatagiri as well as Attiyuran. It is dedicated to the worship of Lord Vishnu who is also referred to as Varadaraja Perumal and his consort, Goddess Lakshmi. It is situated adjacent to the Vedapureswarar Temple and is maintained and looked after by the Vedapureshwar Trust too. According to legends and mythological tales, it is said that after Brahma created the universe and he wanted Lord Vishnu to come down on Earth and for that he started performing the Asvamedha Yagna. Towards the end of the sacrifice God Varadaraja Perumal appeared on earth with his consort to bless all the people on the Earth. The idol of the lord here is said to be self manifested and the temple was built mainly to preserve it during the reign of the Chola Kings in the 11th Century.