YouTube personality Calum McSwiggan, known for his posts and videos, has pleaded guilty to vandalizing a car, after claiming he was the victim of a hate crime, officials said.

McSwiggan, 26, entered the plea Monday to one felony count of vandalism over $400 damage.

He was sentenced to three years felony probation, 52 anger-management counseling sessions and ordered to pay $7,000 in restitution, according to the Los Angeles County District Attorney’s Office.

It was during an altercation with three men on June 27 that McSwiggan damaged the car mirror and bumper of the vehicle of one of the men. Prosecutors say he then falsely told police that he had been beaten by the vehicle’s driver and two other men.

As part of the plea, a misdemeanor charge of filing a false police report was dropped, officials said.

The case was investigated by the Los Angeles County Sheriff’s Department, West Hollywood Station.

McSwiggan posted a series of Twitter messages Tuesday in response to the plea announcement.

• ALSO READ: Hollywood star vandal to sue Donald Trump, Walk of Fame organizers

“Five months ago I was accused of the crime of falsifying a police report after I was assaulted outside a nightclub — a crime I didn’t commit,” said McSwiggan’s first message at 12:45 p.m. Tuesday. “After five months of investigation, this charge has finally been dropped. I never lied and I’m grateful that the world can now see that. After the assault I made the mistake of damaging the culprit’s car. I regret this & have accepted the consequences & paid for the damages. Now I’m headed home to the UK to see my friends and get on with my life. I’m so grateful to all of you for your continued support.”