Adi Shankaracharya, the philosopher saint of Hindu religion, during one of his tours around South India visited Sagar. During his stay in the town goddess Marikamba appeared in his dream and told him to establish a temple for her at this place. He then consecrated the foot prints of the goddess at the outer limits of the city. During this period (1596), Kadamba, Chalukya and Hoysala dynasties were at war with each other. At this time, Venkatappa Nayaka, ruler of the Keladi and Ikkeri kingdom, adopted this deity as his family goddess seeking blessings to attain victory in the battle. After he won the battle, he shifted the footprints of the goddess from the outskirts to a central location in the city and built a temple to house the footprints.[1]
During the early 1950s, there was a move to shift the temple from the center of the city to the outer limits. At the time, the city was affected by the plague epidemic, the cause for which was attributed to the proposal of moving the temple.[1]
Every three years, in the month of February, a 10-day fair is held at the venue of the temple. Known as the Marikamba Jathra (‘Jathra’ means "fair"), it is one of the major festivals of Karnataka. It has socio–religious importance and is attended by a large number of devotees from all regions of Karnataka.[citation needed] On this occasion, a 16 feet (4.9 m) high chariot, colourfully decorated and carrying the image of the idol, is taken out on a procession.[3]