A father-of-two drunkenly punched a lamppost and spat at a police sergeant, the court heard.
Lee Mark Caldwell, 29, of High Street, Grantham, admitted one count of assaulting a constable in the execution of his duty, and another of being drunk and disorderly in a public place on April 8.
At 2.20am, police were alerted to a man causing problems at an off-licence on London Road. After they spoke to the defendant, he initially walked away, but was then seen to punch a lamppost and became verbally abusive to police, said prosecutor Daniel Pietryka.
While arresting him for being drunk and disorderly, Caldwell was restrained on the floor, during which he spat at a policeman.
In his police interview, Caldwell said he could not remember the incident at all due to the amount he had drunk, but admitted the offences after being shown CCTV.
Simon Cobb, defending, said his client had not been before a court since 2013, primarily due to being in a stable relationship and having two young daughters. However, these offences were committed after the breakdown of that relationship, and that night he had gone out with the intention of getting drunk.
Caldwell must pay a £180 fine, £85 costs, £25 in compensation to the police sergeant and a £20 victim surcharge.