Labour has clung on to its seat in Penistone West after a closely fought by-election - winning by just over 50 votes.
The party representative David Griffin won the seat in Barnsley, followed by the Conservative candidate, UKIP and then the Independent candidate.
The by-election on Thursday was triggered by the death of former councillor Peter Starling in May at the age of 67.
The nail-biting count took place on Friday morning at Barnsley Town Hall.
Results from the borough council said the election turnout was 25.7 per cent.
The full results were David Griffin, Labour, 772 votes; Andrew Millner, Conservative, 719 votes; Steve Webber, Independent, 338 votes; and David Wood, UKIP, 622 votes.