Baghpat has served as a legacy or home constituency for the former Prime Minister, which is at present, held by the BJP's Satya Pal Singh.
The communally sensitive western Uttar Pradesh has emerged as a citadel of the BJP since 2014. But the anguish among farmers, arising from the year-long agrarian protest, may upset the party's electoral equations in the region. The Opposition bloc of SP-RLD is hopeful of realigning the Jats and Muslims to outmatch the saffron camp.
All the seven seats, including Iglas which is reserved for SC candidates, were won by BJP nominees in the 2017 polls. The seats will go to polls on February 10 during the first phase of elections in the state.
Rashtriya Lok Dal president Jayant Chaudhary on December 7 formally announced his party's alliance with the Samajwadi Party and said if they come to power in Uttar Pradesh next year, the first work will be to build a memorial for "martyrs" of the farmers' protest.
The prime minister's swipe against the Samajwadi Party comes on a day when the party chief, Akhilesh Yadav, held a joint rally with ally Rashtriya Janata Dal president Jayant Chaudhary in Meerut.