A violent patient punched and kicked out at paramedics trying to treat him and also attempted to headbutt police officers.
Stephen Shimmin, who had been on a vodka drinking binge, then made a mess of his cell.
Shimmin, a 37-year-old construction worker, of Southbank Avenue, Marton, pleaded guilty to being drunk and disorderly, causing damage and failing to answer bail.
Pam Smith, prosecuting, said paramedics were called to Lytham Road where Shimmin was lying on the ground on May 7 at 2.20am.
He was found to be asleep and when roused by the medics told them: “I’m going to batter you.”
He became so violent the paramedics had to restrain him until police arrived, but he then turned on the police officers.
When interviewed, Shimmin apologised and said he was disgusted by his behaviour.
Suzanne Mugford, defending, said at the time of the offences, Shimmin had separated from his girlfriend of six years and left the address they shared.
For a short time he went on drinking binges.
He had been offered vodka on this occasion and had little recall of what happened.
Ms Mugford added: “He has not touched alcohol since that night.
“He has got a job in construction.
“He and his partner have made up and are back in the family home together.”
He was sentenced to a 21 day curfew from 9pm to 6am, fined £135 with £85 costs and ordered to pay a £150 court charge with £80 compensation plus £60 victims’ surcharge by Blackpool magistrates.