Justin Bieber has pleaded no contest to a misdemeanour vandalism charge for throwing eggs at a house near his home in Calabasas, California, and been sentenced to two years probation.
Bieber also was ordered to pay $US80,900 ($86,130) in damages, complete five days of community labour and a 12-week anger-management program, and stay away from the victim and his family for two years.
The singer was not present for the Wednesday arraignment at Superior Court in Van Nuys.
A spokeswoman for Bieber said he was glad to have the matter resolved.
Prosecutors spent months considering whether to file charges after the singer’s mansion was searched following the January incident.
A detective wrote that someone matching Bieber’s description was seen on video high-fiving his friends at the time of the incident