The temple was rebuilt in the year by King Baliar Singh (1660-1690 A.D.), the fifth Chauhan king of Sambalpur. The rest of the temples were built during the rule of King Ajit Singh (1766-1788 A.D.) of Sambalpur.
Date of the original building is not known.
“The temple is positioned on the rocky cradle just on the bank of the river Mahanadi. The basis of leaning cannot be assumed to be the technical flaws at the time of construction. It is also not easily acceptable that weak foundation might have caused leaning attitude of the temple. In fact, construction of temple is quite favourite of Chauhan Kings as well known to us from innumerable temples built during their reigns. They had already established themselves as good builders. Again, the temple is not an enormous structure. There might have been interior displacement of the rocky bed on which it stands, either due to flood current in the river Mahanadi or earthquake, thus affecting the straight posture of the original temple.
In other words, the plinth of the temple has deviated slightly from its original arrangement and as a result, the body of the temple has tilted. There is no denying the fact that this has fascinated the attention of historians, sculptures and other researchers. The surprising thing is, the main temple is tilted to one direction and other small temples are tilted to some other directions. Within the temple complex i.e. within the boundaries of temple, everything found to be in tilted condition including the boundaries and the angle of inclination is not changed since last 40/50 years as said by the villagers and priests. The reason of the tilt can be due to some geological reason, may be the earth crust is uneven in structure. The angle of inclination is yet to be measured.”
The worship of Shiva is said to have been initiated by a milkman, who daily crossed the Mahanadi to a place on the bank where the underlying rock cropped out. Here he daily offered his dole of milk, which was at once consumed by the rock, and this miraculous circumstance led to enquiries, which ended in the construction of the present temple:
How to reach: