An aggressive and drunk man was arrested by police after being barred from two Huddersfield town centre pubs.
John Lennon was told to leave the Boy and Barrel pub because staff suspected that he was taking drugs there.
He then wandered down to The Parish in Kirkgate but was also turned away from that establishment.
The 53-year-old returned to the Beast Market pub where police arrived and arrested him, prosecutor Alex Bozman said.
He told Kirklees magistrates: “They formed the impression he was under the influence of something and tried to obtain details from him.
“But he began to walk away from the officers, then turned back towards a member of the public in an aggressive manner.
“He was taken to the ground to prevent any further incidents.”
Lennon was also turned away from The Parish pub in Kirkgate
Lennon, of Hillhouse Lane in Fartown, pleaded guilty to being drunk and disorderly in public on August 22.
Jonathan Slawinski, mitigating, said: “He disputes emphatically the allegation about what was going on that led to his ejection.
“He doesn’t remember what happened outside and his engagement with the officers.
“He is described as being argumentative and aggressive with the officers and accepts that’s probably what happened because he was upset about what’s gone on.”
Magistrates heard that Lennon was last in court three years ago, also for being drunk and disorderly.
They gave him a 12 month conditional discharge, meaning that he will not be punished if he stays out of trouble during that period.
He must pay £85 court costs and £21 victim surcharge.