Fabian Hamilton has been re-elected as the MP for Leeds North East.
The Labour candidate beat Amjad Bashir, who has been suspended by the Conservatives, by 17,089 votes — 98 more votes than the majority at the 2017 election.
Mr Bashir is the former UKIP MEP for Yorkshire and Humber. He was suspended by the party last month for making anti-Semitic comments during a European Parliament debate in 2014.
Jon Hannah of the Liberal Democrats came third and the Green Party's Rachel Hartshorne came fourth.
Voter turnout was down by 4 percentage points since the last general election.
Nearly 51,000 people, 71.6% of those eligible to vote, went to polling stations across the area on Thursday, in the first December general election since 1923.
Three of the six candidates, Rachel Hartshorne (Green), Inaya Iman (The Brexit Party) and Celia Foote (Alliance for Green Socialism) lost their £500 deposits after failing to win 5% of the vote.
This story was created using some automation.