Canadian pop star Justin Bieber has been sentenced to two years of probation in Los Angeles over an egg-throwing attack.
The teen idol did not appear in court on Wednesday. His lawyers entered a no-contest plea on a vandalism charge before local court judge Leland Harris.
In addition to the probation, the singer was ordered to complete five days of community service and an anger management programme.
He must also pay US$80,900 for repairs to the home of his neighbour in the upscale neighbourhood of Calabasas. And the singer was ordered to stay away from the neighbour and his family for two years.
Assistant district attorney Alan Yochelson said Bieber's prank was an "extremely immature and silly act".
Another hearing was set for August 12. Police had said soon after the attack they would be investigating felony charges against Bieber.
The January incident was just one in a long line of controversial headlines that have tarnished the once clean-cut image of Bieber, who has sold more than 12 million albums since emerging in 2009 as a schoolboy sensation.
The 20-year-old star is also facing charges in Florida over racing his Lamborghini in Miami Beach on January 23.
He has pleaded not guilty to driving under the influence of substances, resisting arrest and driving with an expired licence.
And in Canada, he is accused of assaulting a limousine driver last year. Toronto police have accused Bieber of hitting a limousine driver "several times" over the back of the head. The car had picked him and five others up from a nightclub in the city in the early hours of December 30.
In April, Bieber stepped into a bitter fight over history by visiting the controversial Yasukuni Shrine in Tokyo.
He posted a snap of himself at the shrine on his Instagram account - tweeting the link to his 51 million Twitter followers - with the message: "Thank you for your blessings."
The shrine is seen across Asia as a symbol of Japan's lack of penitence for its war crimes.
A storm erupted across social media after the posting, with fans lambasting the star for historical ignorance, and even China's foreign ministry suggesting the young singer should educate himself on the issue.
That backlash recalled Bieber's visit to the Anne Frank museum in Amsterdam a year earlier, when he sparked a furore with a message in the guest book at the house of the Jewish teenager, who died in a concentration camp.
"Anne was a great girl. Hopefully she would have been a belieber," he wrote. "Beliebers" are the nickname given to the singer's legions of fans, many of whom are pre-teen girls.More on this: