CANNES, FRANCE - MAY 21: Justin Bieber attends the Roberto Cavalli yacht party at the 67th Annual Cannes Film Festival on May
Luca Teuchmann/Getty Images

Bad news for Bieber: the singing sensation has been instructed to attend anger management counseling following his DUI from January

Justin was arrested in Miami for drag racing while under the influence. A toxicology report showed that Biebs had marijuana and Xanax in his system at the time, as well as a blood alcohol content somewhere between .011 and .014%, way above the legal limit of .08%.

CNN reports that Bieber has agreed to participate in 12 hours of private anger management counseling and donate $50,000 to the "Our Kids" Miami adoption charity as part of the plea deal. In exchange, the judge presiding over the case, William Altfield, accepted his guilty plea on misdemeanor counts of resisting arrest and reckless driving.

Judge Altfield told the press, "I hope that he realizes that his actions not only lead to consequences that affect him, but they lead to consequences that affect others who are looking up to him as a role model." 

Altfield continued by comparing Bieber to actor Robert Downey, Jr. "Because of the drugs, because of the alcohol, because of the fame, because of all of the pressures that he had on a daily basis, and look at what he's done with his life. He turned himself around. Here is someone who is young. His whole life is ahead of him and he just hopefully will get the message. He will grow up. He will use all of his talents positively for young persons."

This isn't Bieber's first run in with the law. Earlier this summer the singer was charged with egging his neighbor's house, and last year he was sued for allegedly striking a pedestrian with his Ferrari as he left the Laugh Factory in Los Angeles.