Shadow housing secretary John Healey has been re-elected as the MP for Wentworth & Dearne, with a significantly decreased majority.
The Labour candidate beat Conservative Emily Barley by 2,165 votes, less than half the majority at the 2017 election.
Stephen Cavell of the Brexit Party came third and Liberal Democrat Janice Middleton came fourth.
Voter turnout was down by 2.9 percentage points since the last general election.
Nearly 42,000 people, 55.8% 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, Janice Middleton (Liberal Democrat), Lucy Brown (The Yorkshire Party) and David Bettney (Social Democratic Party) lost their £500 deposits after failing to win 5% of the vote.
This story was created using some automation.