Justin Bieber Plea Deal Requires ANGER MANAGEMENT

7/9/2014 2:35 PM PDT

Justin Bieber: Anger Management Is Requirement In Egging Case Plea Deal

Breaking News

3:25 PM PDT -- Bieber's camp tells TMZ ... "Justin is glad to get this matter resolved and behind him. He will continue to move forward focusing on his career and his music."

Justin Bieber
is required to take anger management classes as part of his plea bargain in the egging case ... and he has to pay his neighbor a fortune.

Justin's lawyer, Shawn Holley, was in court with the prosecutor as the plea was entered.  Justin pled no contest to misdemeanor vandalism and was placed on 2 years probation and ordered to perform 5 days labor -- probably picking up trash or graffiti removal.

Justin was ordered to pay his neighbor $80,900.  Law enforcement sources had told TMZ ... the victim submitted estimates totaling around $20K but in court Wednesday the judge said the actual damages exceeded $80K.  The prosecutor said, "The house is a dream house" and a lot of work had to be done.

As for anger management ... Justin is required to attend 12 weeks of classes with a minimum of 1 per week.

And Justin was ordered to stay 100 yards away from the victim and his family.  That won't be a problem since Justin has moved.