Chris Brown has pleaded guilty to punching Parker Adams outside W Hotel in Washington DC in October 2013.
The 25-year-old rapper was accused of attacking Parker Adams as he tried to join a picture the singer was taking with two women.
Chris Brown had been charged with misdemeanor assault and had been in police custody for two days in connection with this case.
The judge sentenced Chris Brown to time served, meaning he was free to go after appearing in court.
Chris Brown had previously rejected two plea deals.
Outside court, Chris Brown’s lawyer told reporters that his client had been put on trial for a “phantom crime”.
Danny Onorato said: “To say that he’s been punished severely in this matter is an understatement.”
At the time of the assault, Chris Brown was on probation in California for a 2009 attack on then-girlfriend, Rihanna.
As a result, he was ordered to serve an additional 131 days in jail and was only released in June.
Chris Brown said nothing to hundreds of photographers, reporters and fans waiting for him outside court, but had earlier apologized to the court.
Since his assault on Rihanna, Chris Brown has been involved in a number of incidents.
Chris Brown’s career has been on hold for almost a year and his lawyer said the rapper would now go back to work, including a tour in support of his new album, X, which is due out on September 16.
His bodyguard, Christopher Hollosy, was also charged over the same Washington scuffle.
Christopher Hollosy was accused of being the second person after Chris Brown to strike Parker Adams outside the W Hotel.
The bodyguard was convicted of misdemeanor assault in April but has not yet been sentenced.
[youtube tonWQw3wX6c 650]