The R&B singer appeared in a Los Angeles court Friday and admitted that he committed a crime in Washington, D.C., last year.
Superior Court Judge James R. Brandlin sentenced Brown to serve 365 days in custody, but gave him credit for 234 days he has spent in rehab and jail.
The singer faces a misdemeanor assault charge in Washington after a man accused the singer of hitting him outside a hotel in the nation’s capital.
It is unclear how many days in custody Brown will actually serve.
Brown has been under court supervision after pleading guilty in 2009 to beating pop singer Rihanna, his then-girlfriend.
On Tuesday a judge approved the release of five photos that prosecutors entered into evidence in the assault trial.
Among the images are one of the 25-year-old rapper looking dejected as he sits in handcuffs while in custody.
Another shows a photo of Parker Adams – the man the pair are accused of punching after he tried to get on the singer’s tour bus – with a bloody nose and shirt.
There is also a shot of the bodyguard, Christopher Hollosy, in custody.