WireImage 1 / 10

Chris Brown is getting some answers. During a court appearance in L.A. on Friday, the entertainer's rehab facility confirmed that Brown has been diagnosed with bipolar disorder, severe insomnia, and Post Traumatic Stress Disorder.

PHOTOS: Celebrity rehab centers

"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 facility said in a letter, obtained by TMZ.

PHOTOS: Stars at court

It continued: "Mr. Brown's attitude has been beyond exemplary in regard to his community service responsibilities."

The letter also stated that Brown, 24, has tested negative for drugs during his stay, and has been put on medication for his conditions.

PHOTOS: Hollywood's biggest bad boys

Brown voluntarily checked himself into rehab on Oct. 29 after allegedly assaulting another man, Christopher Hollosy, in Washington D.C. The "Forever" singer has completed 95 days of anger management therapy, and was ordered Friday to stay in rehab for two more months.


Stars arrested before the age of 21

Celebrities in Trouble with the Law 2013

Chris Brown enters rehab