A judge has revoked Chris Brown’s five-year probation stemming from his 2009 assault of then-girlfriend Rihanna.

According to TMZ, Brown came to court today (July 15) to defend against the L.A. County district attorney’s motion to revoke his probation after Brown was charged in a hit-and-run after a May, 2013 car accident.

The judge granted the motion to revoke the charges, and now Brown faces a probation violation hearing in August.

If the judge determines that Brown violated his probation, he could face up to four years in prison.

Currently, Brown has been released on his own recognizance, meaning he will not be in custody while time passes until the August hearing.

Below is footage of Brown in court as his probation is revoked:

The hit-and-run allegedly occurred in May, when Brown reportedly refused to provide his license after his Range Rover SUV collided with a Mercedes Benz. Brown also reportedly provided false insurance information. The alleged victim claimed Brown got violent and cursed her out after she tried to take a photo of him.

Since the 2009 assault, Brown has been unable to stay out of legal trouble. In addition to the hit-and-run, in 2012, Brown was involved a bottle-throwing battle with Drake at a New York nightclub, though he managed to escape any criminal charges. In January of 2013, Brown was involved in a brawl with Odd Future’s Frank Ocean, for which he may still face charges. Just last month, Brown was accused of assaulting a woman in a California nightclub.

In addition, Brown was accused of falsifying records of his court-ordered community service stemming from the Rihanna case, which resulted in the police chief of Richmond resigning.

RELATED: Sponsor Pulls Out Of Show Due To Chris Brown’s Involvement