A man who threw an object at Nigel Farage during an election campaign has avoided prison.
Josh Greeley, 28, was given a six-week suspended prison sentence at Barnsley Magistrates’ Court on Wednesday.
He was also sentenced to 120 hours unpaid work and 20 days rehabilitation and ordered to pay £85 court costs and a £154 surcharge.

Greeley pleaded guilty to a public order offence after hurling a disposable coffee cup and another object at the British Reform Party leader in the centre of Barnsley, South Yorkshire, on 11 June.

Mr Farage was campaigning on the top deck of his election bus when the object was thrown.
The footage shows him ducking to avoid the object, which did not hit him.
A week earlier, Mr Farage had a milkshake thrown at him as he left a Wetherspoons pub in Clacton-on-Sea, Essex, where he is now an MP.