(CNN) - Justin Bieber will pay for the egg attack on his neighbor's house in California.
His lawyer entered a no contest plea on his behalf to a misdemeanor vandalism charge.
The misdemeanor was chosen in favor of the more serious felony charge that was possible.
The judge sentenced Bieber to two years supervised probation and five days of community service.
He was also ordered to enroll in anger management and pay more than $80,000 in restitution.
Copyright 2014 CNN. All rights reserved.
1720 Valley View Drive