Another legend associates this temple to Gajendra moksham given by Vishnu to the elephant king Gajendra. As per the legend, the elephant Gajendra, used to worship Vishnu with the lotus fetched from the temple tank everyday. Once while picking up lotus, a crocodile caught the leg of Gajendra, who started calling the name of Vishnu for help. Vishnu sent his discus to punish the crocodile and relieve the elephant. The presiding deity is addressed by various names like Adikesava Perumal, Gajendra Varadhan and Chakradhar.