Chris Brown has admitted he's made mistakes in his murky past but hopes that the lessons he's learned will shape him "into a real man".

Alongside a picture of him wearing standard orange prison overalls in court, the R&B singer posted a lengthy message about his past life.

It's unclear what Chris, who fell foul of the public after he attacked his then-girlfriend Rihanna in 2009 leaving her face beaten and bruised and also more recently spent over 100 days in prison for violating his probation, is specifically referring to.

"I've been through a lot in my life. Made a lot of mistakes along the way," he wrote.

"But through it all I've always been true to myself and through God I've been able to take care of my family!

"I should regret some things but I think the lessons learned will shape me into a real man. I'm grateful and appreciative! Thank you for life!"

The 25-year-old had been sentenced to 365 days in May after admitting violating his probation by getting into a fight in Washington D.C. last year, but Judge James R. Brandlin gave him credit for the 234 days he has already spent in rehab and jail.

(Image: x17online)

The judge also ordered Chris to attend therapy sessions twice a week and undergo random drug testing three times a week.

In February court papers showed he'd been diagnosed with bipolar disorder, severe insomnia and Post Traumatic Stress Disorder, which led to anger issues.

The troubled star had been in custody since being kicked out of a court-ordered rehab facility in March for breaking three internal rules.