[What you need to know to start the day: Get New York Today in your inbox.]

The actor Alec Baldwin pleaded guilty to harassment in Manhattan Criminal Court on Wednesday and agreed to take an anger management course in a deal with prosecutors to dispose of charges that he assaulted a man during a dispute over a parking spot in November.

Mr. Baldwin entered his plea before Judge Herbert Moses, speaking just enough to signal he understood the deal being offered. He had been charged with misdemeanor assault as well, but prosecutors let him plead to only harassment instead.

Mr. Baldwin, known for his work on “30 Rock” and his withering portrayal of President Trump on “Saturday Night Live,” was ordered to pay a fine of $120 and return to court in March to verify that he completed the anger management course. He left the courthouse without speaking to reporters, and his lawyer, Alan Abramson, declined to comment.

Mr. Baldwin, 60, was arrested Nov. 2 on charges that he had punched a man in a dispute over a curbside parking spot outside his building on East 10th Street that both men were claiming.