Violence erupted in Grantham Market Place after a row between two friends at a taxi rank in the early hours of the morning.
Police officers on duty on August 11 saw Luke Garner of Tanners Lane, Corby Glen, headbutt another male “out of frustration” at 3.40am.
The court heard the victim of the headbutt was a good friend of Garner’s and the pair were part of a group who had been enjoying a night out in the town.
Chris Pye-Smith, defending, said: “They had all been out and had a very good night but right at the end of the night it went wrong.
“The taxi ordered by the defendant was taken by others including [the victim] who then turned and laughed directly in the face of the defendant. Unfortunately, you have heard what the defendant’s response was and clearly it was wrong.”
Mr Pye-Smith said the victim of the headbutt wrote to the court in support of Garner. Mr Pye-Smith said: “In the letter he says he would not have wanted to press charges. They are very good friends and he says the headbutt was provoked by himself and he suffered no injury.”
The police officers had difficulty restraining and arresting Garner. When he was pulled to his feet Garner, 22, was said to have kicked out several times at one of the officers who, in turn, struck the defendant.
Tracey Ross, prosecuting, said: “The PC ended up punching the defendant to the stomach to gain full control.”
In his police interview Garner said he felt the officers were “too rough with him” and “too heavy-handed” but he apologised for his actions.
Garner, who is out of work and living with his parents, admitted a public order offence and assaulting a police constable.
He was fined £145 and must pay a £25 surcharge.