As per another legend, the celestial deities Indra and Agni worshiped Vishnu at this place. Indra once insulted the sage Bhrigu when he placed the divine garland offered to him on his elephant Airavata. Bhrigu cursed him to lose all the powers. Indra did severe penance in the place to regain the powers. Agni, the fire god, was affected with Brahmbhatt Dosha, a curse inflicted on account of burning the head of Brahma handed over by Shiva. He was propitiated off his curse by offering worship at this temple.