The legend of the place relates to the episode of Kandava Dahana in epic Mahabarata. During the dahana Takshaka escaped the forest with little injuries and he cursed Lord Agni to lose his divinity. As suggested by Lord Shiva, Agni prayed to the lord Vishnu here in this region and regained his status.