A Kirkburton man attacked a reveller after he got into his pre-booked taxi, a court heard.
Adam Ashman was punched in the face by Lewis Heeley, of Penistone Road, during the confrontation in Holmfirth on May 5.
He was yesterday told by a district judge at Kirklees Magistrates Court that he was lucky that he was not facing a more serious charge of manslaughter after Mr Ashman banged his head on the ground and briefly lost consciousness.
Robert Campbell, prosecuting, said the incident happened just after 1am.
Mr Ashman and his wife had enjoyed an evening out with friends in the town and decided to take a taxi home.
Mr Campbell said: “They got into a taxi and the defendant approached it, saying it was his and they should get out.
“There was an altercation between them and the complainant and his wife got out of the vehicle.
“The defendant punched the complainant with a single blow to the face, causing him to fall backwards.
“The complainant suffered from some swelling and grazing and there’s a suggestion he lost consciousness for a minute or two.”
The prosecutor said that 23-year-old Heeley and his friend then just got into the taxi and went on their way.”
Heeley was arrested and accepted the assault in interview.
He explained that he had been out drinking and was upset after having an argument with his girlfriend.
Mr Campbell said: “A taxi pulled up, he’d opened the door and told the person to get out as it was the taxi he’d booked.
“The complainant started arguing. He tried to get him to leave and the man got in front of him so he hit him. He said that as soon as the gentleman fell to the floor he regretted what he’d done.”
The court heard that he surrendered himself to the police station the next day.
District Judge Roger Lowe told Heeley that Mr Ashman’s fall could have resulted in serious injuries when he banged his head.
“You could have killed him and be facing a charge of manslaughter,” he said.
“It was a stupid offence, completely unprovoked.”
Judge Lowe gave Heeley a community order with 55 hours of unpaid work.
He was also ordered to pay £200 compensation to Mr Ashman as well as £85 costs and £60 victim surcharge.