query: Who won the 2017 Elections and by what margin?
answer: Machhlishahr (Assembly constituency) belongs to Samajwadi Party candidate Jagdish Sonkar who won in 2017 Elections by defeating Bharatiya Janta Party candidate Anita Rawat by a margin of 4,179 votes.