The temple dedicated to Shiva in the form of Bhairava derives its name because of its location in the past. The modest little Shrine stood the weir or ‘Kodi’ of Devaraya sagara or Doddakere. Today, it is just on the outskirts of the Palace Fort and Devaraya Sagara Dasara Exhibition Complex.
This temple is of great importance for the history of Mysore as this was the spot where the Founders of Mysore Kingdom, Yaduraya and Krishnaraya were met by the Royal Priest which caused the founding of the Mysore Kingdom. The little shrine houses an image of Bhairava which is less than a metre high.The deity holds in his four hands , a tridment, a drum and a skull and a sword as sickle in her uplifted right hand. Chauri bearer is standing to the right of Bhairava.
In the first quarter of this century, when the congested buildings in the Palace Fort were being removed, there was an attempt to demolish this historically important ancient temple. However,- Krishnaraja Wodeyar 4th, stopped demolition considering its past association with the Mysore Dynasty.