The temple, built by a local chieftain, has a history of 500 years of existence.
After spending 15 minutes there, Gandhi boarded the bus and hit the campaign trail again.
As the bus passed by several villages, he waved at the waiting people.
He also had visited Gavi Siddheshwara Mutt in Koppal, a mutt of the majority Lingayat community.
The Karnataka BJP has mocked at Gandhi's temple visits, calling him an "election Hindu.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)