New Delhi: In significant upsets, the Congress on Wednesday wrested a Lok Sabha seat in Karnataka and an Assembly seat in Gujarat in two BJP strongholds after 15 years but it was routed in Andhra Pradesh due to the Telangana factor.

In Karnataka, where BJP is rocked by dissidence, the Congress snatched a comfortable 45,724 vote victory in Udupi Chikmagalur seat, which has been with the BJP since 1998, and more significantly bagged the Mansa Assembly seat, held by the BJP since 1995, in Narendra Modi-dominated Gujarat.

Assembly elections are due in Karnataka next year while they are due in Gujarat in eight to nine months from now.

The counting of votes in the Sunday by elections in 6 states were taken up and completed on Wednesday.  With on Wednesday's win in Udupi-Chikmagalur, the Congress' strength in the Lok Sabha goes up to 207.

The Congress suffered a rout  when its candidates were defeated in all the seven Assembly constituencies in Andhra Pradesh where Telangana Rashtra Samiti (TRS) showed its dominance in Telangana region winning four seats and helping an Independent bag the fifth. BJP won one seat in the region.

The YSR Congress, headed by late Chief Minister Y S Rajasekhara Reddy's son Jaganmohan, won the Kovur seat in coastal Andhra Pradesh in its first foray outside the home base of Kadapa in Rayalaseema region of Andhra Pradesh.

In the other bye elections in which counting of votes were done on Wednesday, the ruling AIADMK retained the Sankarankoil Assembly seat in Tamil Nadu as expected and the BJD the Athgarh seat in Odisha.

In sweet revenge in Karnataka, where the BJP is battling a leadership crisis and serious corruption charges, the Congress wrested the prestigious Udupi-Chikmagalur Lok Sabha seat from it by a handsome margin of 45,724 votes.