Chris Brown is headed back to rehab.

On Wednesday (November 20), a Los Angeles judge sentenced the singer to 90 days in a court-approved treatment facility for anger-management issues. He reportedly made the decision after seeing a probation report that concluded that Brown threw a rock through his mother's car window before being discharged from a rehab facility, the the Associated Press reported on Wednesday.

The ruling came down during a probation violation hearing that originally stems from the 2009 assault on then-girlfriend Rihanna. (The singer still faces a possible violation charge after prosecutors said he did not fully perform his community service related to that 2009 case.)

Brown had first voluntarily entered a rehab facility in early October after he was arrested on an assault charge in Washington, D.C., after a 20-year-old man accused Brown of punching him in the face outside his tour bus. He was released just two weeks later.

The singer will also now reportedly be required to submit to random drug testing and take doctor-prescribed medication, according to L.A.'s KTLA.

While Brown has been instructed not to leave Los Angeles, Judge James R. Brandlin said on Wednesday said that Brown would be allowed to travel for the D.C. hearing for his October arrest if necessary.

Earlier this week, Breezy dropped his X Files mixtape, the cover of which features a cartoon version of the singer in a white straitjacket. Brown has not yet set a date for his sixth studio album, X.