A 21-year-old man struck a police car with a spade after police were called to a disturbance between him and his father.
Christopher Parsons of Fairfax Road in Beeston, Leeds, admitted damaging the police car.
He also admitted using threatening behaviour towards a police constable, when he appeared at Skegness Magistrates’ Court.
Daniel Pietryka, prosecuting, said that police were called to a family disturbance between Parsons and members of his family in Queen Street in Louth just after midday on October 6.
Mr Pietryka said that when PC Aaron Thorp arrived he saw Parsons wielding a spade and swinging it above his head.
He went up to the police car and then he went on and struck the bonnet of the police car several times.
When PC Thorp got out of the car, Parsons went towards him with the spade at shoulder height.
Then because PC Thorp feared for his own safety, he had to use his taser weapon on him.
Mr Pietryka said that in interview, Parsons said he had been in a dispute with his father.
But he denied making actual threats against the police.
He had apologised to the officer and realised that the officers there must have been very alarmed and frightened during the incident.
Mitigating, Ian Benton said that Parsons had mental health problems and anger management issues.
The magistrates have adjourned the case for sentencing which will take place on December 2 and ordered a report from the Probation Service.