Justin Bieber is closing the book on his DUI case in Miami. The pop star is accepting a plea deal that will see him escape criminal charges in exchange for guilty pleas to lesser charges of careless driving and resisting an officer, stemming from his arrest back in January. A judge signed off on the agreement Wednesday, asking Bieber's attorneys to impress upon the young star that he is an "influence," whether he likes it or not.

Judge Bill Altfield judge also invoked the name of "Iron Man" star Robert Downey, Jr. as an example of someone who kicked his sobriety issues and turned himself around. The plea deal will see Bieber attend anger management classes and view videos about the dangers of driving under the influence. He will also pay a 500-dollar fine, cover court costs associated with the case, and donate 50-thousand-dollars to the Our Kids charitable organization.

Bieber was not in court for Wednesday's proceedings at the Miami Dade Courthouse. His lawyers entered his plea on his behalf. The 20-year-old singer was arrested in Miami Beach in January. He reportedly failed a sobriety test and tested positive for marijuana and prescription pills. (Metro Networks Inc)