Siddaramaiah contested against BJP's Sriramulu in Badami, an important seat in the Bagalkot district.
Bengaluru: Incumbent Chief Minister Siddaramaiah of the Congress has won in Badami but lost in Chamundeshwari.
Siddaramaiah was contesting against B Sriramulu of the BJP in Badami, an important seat in the Bagalkot district, which falls in what is known as the "Mumbai-Karnataka region" of the state.
After a scare when counting started, Siddaramaiah has moved ahead in Badami, a seat that he wanted to contest because of doubts over Chamundeshwari.
Siddaramaiah had given up his own seat Varuna, to his son Yathindra.
The Congress won Badami in 2013 and before this, the BJP won in 2008.
With a population of over 50,000, Badami has many from Siddaramaiah's Kuruba community. It also has a sizeable population of Lingayats and Veerashaivas.
The BJP, determined not to give Siddaramaiah a walkover, fielded B Sriramulu, a parliamentarian who is known for a solid record of winning elections.
B Sriramulu, a close aide of the powerful Reddy brothers of Bellary, has been talked about as a deputy chief minister if the BJP comes to power in Karnataka.
He is also contesting in the Molakalmuru constituency near Bellary.
Siddaramaiah lost in Chamundeshwari, a seat that has elected him five times in the past. He was contesting against GT Deve Gowda of the Janata Dal Secular.