The Lodheshwar Mahadev Temple is mentioned in the Mahabharata. It is believed that the Pandavas performed a Mahayagya here. A well named Pandav-Kup still exists, and its water is said to have healing properties. The temple is significant for the Lodhi Rajputs, who sought help from Lodheshwar Mahadev during a time of crisis. They were advised to abandon their weapons and take up farming.