As per another legend, sages Gautama and Kanva worshiped Shiva at this place. There is another legend which indicates that a Pandya king found a golden iguana which disappeared under a tree. While digging under the tree, he found a linga. He requested sage Trinedhrathari to build a temple who built two sanctums, one for Uamiyatchivarar and other for Aatcheesvarar.