NEW YORK, NY - APRIL 01: BET host Bow Wow and singer Chris Brown appear on BET's "106 & Park" at BET Studios on April 1, 2013
Michael Loccisano

Three months after Chris Brown entered rehab for drugs and anger management, legal documents submitted Friday at a Los Angeles court hearing show specifically what ails the troubled singer. 

The formal letter, obtained by E! News, states: “Mr. Brown became aggressive and acted out physically due to his untreated mental health disorder, severe sleep deprivation, inappropriate self-medicating and untreated PTSD." The letter also stated: "Mr. Brown will also require close supervision by his treating physician in order to ensure his bipolar mental health condition remains stable. It is not uncommon for patients with Post Traumatic Stress Disorder and Bipolar II to use substances to self-medicate their biomedical mood swings and trauma triggers." 

At the hearing, the judge ordered Brown to spend an additional two months in the rehab facility. That decision came despite a positive report from Brown's probation officer, who, according to CNN, said the singer "continues to make great improvement" in dealing with his anger and substance abuse problems. The two month rehab extension ensures Brown will remain in treatment until after being tried on an assault charge in Washington.

During the ruling, CNN reports that Breezy handled the longer sentence ruling by meditating with his eyes closed. "Mr. Brown is able to use behavioral strategies to manage acting out on impulses," the director of his rehab program wrote in a letter to the court. "Mr. Brown is learning relaxation exercises that will reduce consequent impulsive behaviors."

Brown's next hearing will be on April 23, a week after the assault trial in Washington. On May 5,  Brown plans on finally releasing his next studio album X.