A thug was caught on camera attacking a woman in a busy Leeds pub before throwing a glass at her head.
Adam Guilfoyle, 22, was told his actions in the Old Red Lion, in Swarcliffe, were "appalling" after he left his victim with a gashed head.
Alistair Campbell, prosecuting, told Leeds Crown Court how Guilfoyle could clearly be seen on camera taking on his mobile phone in the pub before there was an exchange of words between the pair.
Guilfoyle then reacted by pushing the woman across the room with such force that she hit a wall.
The woman then threw a glass of wine over him.
Guilfoyle swung a punch at her as he was restrained by others in the bar.
But he managed to get free, ran up to her from behind and threw the
glass at her head from about six feet away.
He kicked out at his victim as he was escorted from the pub.
The woman was taken to hospital where she needed stapling to the wound.
Police arrested Guilfoyle, of Swarcliffe Drive, Swarcliffe, a few days later.
He admitted being the person on CCTV. He said he had reacted after the woman spat and threw wine at him but denied throwing the glass.
He later told a probation officer that his victim was lucky someone else didn't smash her head in.
He pleaded guilty to unlawful wounding.
Chloe Fairley, mitigating, said the attack was not premeditated.
She said: "Clearly the behaviour cannot be excused at all. There was clearly an altercation between the defendant and the complainant."
Miss Fairley said the incident was serious enough for a prison sentence but urged Mrs Recorder Rippon to suspend the sentence as offence was more than a year old and he had not offended since. He also needed an operation and going to custody would delay his return to health.
Guilfoyle was given a 12 month sentence, suspended for two years, plus 100 hours unpaid work.