A man who punched a police officer before spitting in his face was ordered to complete a six-month alcohol treatment course.
John Gaskin, 43, of Trent Road in Grantham, was also ordered to pay £130 in compensation to the officer - £50 for the punch and £80 for the spit.
Police were called to St Peter’s Hill on October 29 following reports of several people fighting.
When officers arrived they found an on-going argument taking place so removed one of the group - John Gaskin - and took him to his home in Trent Road.
Later, the same officers then received a report of a disturbance in Trent Road and when they arrived they discovered the problem was Gaskin, whose family wanted him removed from the home as he was too drunk.
Jim Clare, prosecuting, said the officer told Gaskin: “Come on John-boy, time to go.”
But Gaskin then leapt to his feet and punched the officer in the face.
Mr Clare told the court the officers attempted to restrain Gaskin as he “swore and growled at them”. Gaskin was taken to Grantham police station where the officer told him: “John-boy, I can’t just ignore what happened.
“You’re under arrest for assaulting a police officer.”
Gaskin initially appeared to have calmed down but began making accusations against the officer before spitting in his face.
Mr Clare said: “The officer challenged his version of events, then the defendant spat at the officer.
“The officer turned his head but the saliva went over the side of his face and neck.”
The court was told Gaskin could not recall how much he drank that night but spent £60 on alcohol.
Stuart Wild, defending, said: “He could not recall what happened but accepts the events put forward by the police constable.”
Chair of magistrates George Hoyles said: “You are a man who obviously is in a fair amount of trouble and is well-known to the Probation Service.”
Gaskin admitted two charges of assault against the same officer and was sentenced to a 12-month community order with a 12-month supervision requirement and a six-month alcohol treatment requirement.
He must also pay compensation to the officer and a £15 surcharge.