Bieber to plead guilty to misdemeanors in Miami case, source says

CREDIT: Miami-Dade Corrections and Rehabilitation Department

(CNN) -- Justin Bieber is expected to plead guilty on Wednesday to misdemeanor charges of careless driving and resisting arrest without violence in connection with his January arrest in Miami, a source with knowledge of the case told CNN.

The international pop star will also agree to take an anger management course, the source said.

Miami Beach Police Chief Raymond Martinez said officers arrested Bieber January 23 after they saw him driving a yellow Lamborghini in a race against a red Ferrari in a residential area. The cars were speeding at about 55 to 60 mph in a 30 mph zone, he said.

Police said Bieber was argumentative during the arrest and failed a field sobriety test.

Bieber, 20, was charged with driving under the influence, resisting arrest without violence and driving without a valid license.

Bieber has had a number of run-ins with the law in recent months.

In July, a judge in Los Angeles ordered Bieber to pay $80,900 restitution for damaging his former neighbor's mansion by throwing eggs.

The pop star accepted a plea deal to settle a vandalism charge that puts him on probation for two years. The probation will be supervised until he completes 12 weekly anger management sessions, works five days of community labor and pays the restitution.

In December, he was arrested on an assault charge in Canada, accused of hitting his limousine driver in Toronto.

In January, the Federal Aviation Administration looked into allegations that Bieber and other passengers on board a charter flight from Canada to New Jersey interfered with the flight crew, the agency said. In July, the FAA cleared them.

In February, police in Georgia searched Bieber's limousine and found small amounts of marijuana and drug paraphernalia. No charges were filed "due to the small amount," police said.