In Azamgarh, Mayawati succeeded in re-stitching the Dalit-Muslim formula, making the BJP’s win easy, however BSP did not field its candidate in Rampur, leaving it to be a straight BJP-SP fight.
Meanwhile, in Azamgarh party candidate Dharmendra Yadav extended gratitude to SP leaders and people of the constituency for supporting him.
The ruling BJP wrested the Azamgarh and Rampur parliamentary constituencies from the opposition Samajwadi Party.
Congress won a seat each in Tripura, where it opened its account after drawing nil in the last assembly polls, and Jharkhand, while the ruling YSR Congress emerged victorious in Andhra's Atmakuru.
Aam Aadmi Party (AAP) candidate Durgesh Pathak defeated the BJP nominee by over 11,000 votes in the by-election.
The chief minister said the BJP's 'double engine government' -- dispensations of the same party at the Centre and in the state -- has secured 'double victory' in the state.
The entire Post Office Chowmuhani area where Congress Bhavan is located wore a deserted look after the clash.
Simranjit Singh Mann polled 2,53,154 votes, while AAP's Gurmail Singh secured 2,47,332 votes, as per the data available.
Chief Minister Manik Saha won the bypoll to the crucial Town Bardowali seat by 6,104 votes.
According to official data, AAP's Pathak polled 40,319 votes, while his nearest rival BJP's Rajesh Bhatia managed to get 28,851 votes.
The Tripura Chief Minister termed it as a victory of the BJP workers while adding that he had expected the vote margin to be higher.
The Atmakur bypoll was necessitated following the sudden demise of sitting MLA Mekapati Goutham Reddy who is winning candidate Mekapati Vikram Reddy's brother.
Polling in Tripura on Thursday was the highest at 76.62 per cent. Lok Sabha bypolls were held in Rampur and Azamgarh constituencies in Uttar Pradesh and Sangrur seat in Punjab.
Voting was held on Thursday from 8 am to 6 pm, and until late evening, the provisional figures stood at 37.01 per cent.
The Sangrur deputy commissioner-cum-returning officer and the state chief secretary also sought extension of polling time from the election panel.