A drunk man who smashed a pub window was linked to the crime by his blood left on the shattered glass.
Robert-Lee Scott, 21, pleaded guilty before Kirklees magistrates to criminal damage.
Alex Bozman, prosecuting, said the offence at the George Inn in Batley took place overnight on July 6.
At 5am the landlady woke to the sound of two people arguing outside the Healey Lane pub. It stopped and she thought nothing more of it.
The following morning her daughter discovered that a window bearing the pub’s name had been smashed.
Mr Bozman said: “There was blood on the broken glass and that was traced to Mr Scott.”
Magistrates heard the laminated window cost £550 to repair.
Peter Hampson, mitigating, described the incident as ‘silly’.
Scott had been out with his brother, drunk too much and argued with him.
Mr Hampson said Scott, of Lime Tree Avenue in Batley, was too drunk to even remember punching the window.
“He’s very ashamed about what he has done.”
Scott was ordered to pay £350 compensation to the pub.