Pop superstar Justin Bieber has been sentenced to two years probation after pleading no contest to misdemeanour vandalism in an egg-throwing case.

The Baby singer, who is believed to have caused over $20,000 (£11,680) worth of damage to his neighbour's home when he and his friends attacked the property in January, was also ordered to pay $80,900 (£47,160) in damages.

Under the terms of his plea deal, he is expected to serve five days of community service and complete an anger-management programme.

"Justin is glad to get this matter resolved and behind him," Bieber's representatives said in a statement.

Police raided the 20-year-old's Calabasas mansion hours after the attack for evidence linking him to the egg-throwing drama.

Although authorities found no proof at the property, CCTV footage later put him at the scene of the attack. His friend Lil Za was also arrested for drug possession and later released.

"If this isn't a felony, nothing is," prosecutors allegedly told TMZ.

The neighbour also insisted that Bieber's celebrity status does not put him above the law. He also claimed that the Deputy DA handling the case told him: "If we don't charge him with a felony, we ruin the precedent for every other felony case we want to charge."

The teenage pop sensation, whose catalogue of wayward antics includes smoking marijuana, excessive partying, was recently forced to issue two grovelling apologies after footage emerged of him telling racist jokes.

"Ignorance has no place in our society and I hope the sharing of my faults can prevent others from making the same mistake in the future," he said in a statement.

"I was a kid then and I am a man now who knows my responsibility to the world and to not make that mistake again."