The temple was constructed by Demarasa, prime minister (or mahamatya) to Western Chalukya Empire King Someshvara I (who had the honorific Trailokya Malladeva or "Lord of three worlds"), who reigned from 1042–1068 CE.
Another old Kannada inscription (c. 1108) from the rule of Vikramaditya VI gives further details about the consecration of the temple by Udayaditya under the orders of Demarasa.
[3][4] A third poetic Kannada inscription (c. 1212) on the premises belongs to the rule of Hoysala King Veera Ballala II.
Outside the main temple complex, an open hall (called nandimantapa) containing a sculpture of Nandi (the bull, a companion of the god Shiva) has been converted into a shrine.
The eaves over the door has fine images of the Hindu deities Brahma, Keshava (a form of Vishnu) and Shiva.