Actor Alec Baldwin exits the 6th precinct of the New York Police Department in Manhattan, New York, U.S., November 2, 2018. REUTERS/Andrew Kelly
PHOTO: Andrew Kelly/Reuters
Actor Alec Baldwin exits the 6th precinct of the New York Police Department in Manhattan, New York, U.S., November 2, 2018. REUTERS/Andrew Kelly
Now playing
01:02
Actor Alec Baldwin pleads guilty to harassment
PHOTO: Samantha Hartsoe
Now playing
02:24
Woman's bathroom mirror discovery goes viral
PHOTO: @neiltyson
Now playing
02:15
Colbert pokes fun at Neil Degrasse Tyson for vaccination photo
PHOTO: Stuart Weitzman
Now playing
00:39
Serena Williams and her daughter twin in new fashion ad
snl.fauci.vaccine.orig_00005420.png
snl.fauci.vaccine.orig_00005420.png
Now playing
01:24
'SNL' has 'Dr. Fauci' helping people get vaccinated
PHOTO: Instagram Lady Gaga
Now playing
00:56
Lady Gaga's 2 dogs returned home safely, LAPD says
PHOTO: Lewis Speaks
Now playing
01:13
Principal helps student with haircut issue
The Pokémon Company announced new games during its 25th Anniversary Celebration
PHOTO: The Pokémon Company
The Pokémon Company announced new games during its 25th Anniversary Celebration
Now playing
01:01
See the new Pokémon games coming soon
PHOTO: Maui63
Now playing
01:35
World's rarest marine dolphin finds protection in this flying friend
PHOTO: ABC's "Jimmy Kimmel Live!"
Now playing
01:46
Watch people struggle to identify second gentleman Doug Emhoff
PHOTO: nickelodeon/from youtube
Now playing
01:33
'Real World,' 'Frasier,' 'Spongebob:' See the reboots coming to this new streaming service
PHOTO: "The Late Late Show with James Corden" / Youtube
Now playing
01:37
See Prince Harry and James Corden tour LA on open-air bus
PHOTO: Harry Langdon/Archive Photos/Getty Images
Now playing
02:24
How Jane Fonda sparked a fitness revolution
jill biden kelly clarkson divorce advice orig mg_00001210.png
PHOTO: NBC / The Kelly Clarkson Show
jill biden kelly clarkson divorce advice orig mg_00001210.png
Now playing
01:12
Jill Biden opens up about divorce on Kelly Clarkson show
Fans Celebrate In Los Angeles After Lakers Win NBA Finals
PHOTO: (Photo by Brandon Bell/Getty Images)
Fans Celebrate In Los Angeles After Lakers Win NBA Finals
Now playing
01:14
Kyrie Irving says Kobe Bryant should be the NBA logo
PHOTO: 'GMA' / ABC
Now playing
01:56
Britney Spears' dad Jamie speaks out about conservatorship via lawyer on 'GMA'
(CNN) —  

Alec Baldwin pleaded guilty Wednesday to a violation of harassment in connection with a dispute last year over a parking spot, according to a Manhattan district attorney’s office spokeswoman.

The actor pleaded guilty to a violation of harassment in the second degree with a conditional discharge and participation in a short-term anger management program, said Emily Tuttle, deputy director of communications for the district attorney’s office. Under New York law, a violation is not a crime.

The actor will not serve time or be on probation, according to Tuttle.

There are court-imposed surcharges associated with any plea, Tuttle said. The cost was not immediately available.

CNN has reached out to Baldwin’s attorney for comment

An altercation between Baldwin and a 49-year-old man, Wojciech Cieszkowski, took place November 2. The film and TV star initially was charged with attempted assault in the third degree and harassment in the second degree. He pleaded guilty to the lesser of the two charges he faced.

At the time, Baldwin denied the allegations on his foundation’s Twitter account: “Normally, I would not comment on something as egregiously misstated as today’s story. However, the assertion that I punched anyone over a parking spot is false. I wanted to go on the record stating as much.”

Related: ‘Rude’ Alec Baldwin fled to toilet, booted from plane

The incident was not the first time that Baldwin’s temper made headlines. The actor was thrown off an American Airlines flight in 2011 after refusing to turn his cell phone off for departure.

The following year Baldwin got into an altercation with a photographer after obtaining a marriage license with his future wife, Hilaria Thomas.

Then in 2014, the actor was taken into custody by New York police after allegedly riding his bike the wrong way on Fifth Avenue and for disorderly conduct.