UPDATE 8/13 1:45pm

MIAMI (AP) _ Justin Bieber has pleaded guilty to misdemeanor careless driving and resisting arrest charges seven months after his arrest in Miami Beach following what police initially called an illegal street drag race.

The 20-year-old pop star's plea deal with prosecutors detailed at a Wednesday hearing includes a 12-hour anger management course, a $50,000 charitable contribution and court fines. The deal allows Bieber to avoid a driving under the influence conviction.

Bieber was not present at the hearing before Miami-Dade Circuit Judge William Altfield.

Bieber and R&B singer Khalil Amir Sharieff were arrested Jan. 23 while driving exotic sports cars along a quiet residential street. Breath tests found Bieber's blood alcohol level below the limit for underage drivers, but urine tests revealed the presence of marijuana and an anti-anxiety drug.

**

The attorneys for pop star Justin Bieber are expected in a Miami-Dade court this afternoon at 1:00 to hash out a plea deal.

It's believed the state is willing to drop the DUI charge if the 20-year-old will plea guilty to careless driving and resisting an officer without violence.

WIOD Legal Analyst Mark Eiglarsh says the defense is arguing just because Bieber had drugs in his system, doesn't mean they impaired his ability to drive on Miami Beach when was pulled over earlier this year.

His alcohol breath test measured well below the legal limit.

Bieber wouldn't spend any more time in jail.

TMZ is reporting that under the agreement, Bieber will have to attend a 12-hour anger management class. The singer has also reportedly agreed to make a $50-thousand charitable donation.

One thing his attorney Roy Black was adamant about was that Bieb's not be placed on probation.

For those Bieleber's who may be wondering ... the singer's expected to skip the hearing.