Kodak Black

Kodak Black is coming home.

The Florida rapper appeared in court on Tuesday (Aug. 16), striking a plea deal that will see him released from jail.

Black (real name: Dieuson Octave) was facing up to 55 years in prison, but will instead, serve house arrest and get probation. He had to plead no contest to charges, such as robbery, false imprisonment, fleeing a law enforcement officer, and possession of a firearm by a delinquent, according to the Sun-Sentinel.

The rapper’s charges stem from a pair of arrests. First, he was arrested in October 2015 in Pompano Beach, where he was accused of forcing several people into a car after he suspected somebody of breaking into his house.

After being released on bond, he was arrested in April 2016 after cops patrolling near a building known for drug sales watched two guys outside the rapper’s Audi hand the passenger in the car some cash and, in return, receive a large bag filled with a “green, leafy substance.” Cops ended up chasing his car and he was accused of tossing a gun into a dumpster before his arrest.

Kodak Black built a buzz locally through independent releases, eventually drawing interest from record labels and signing to Atlantic Records.

In June, he landed a spot on the 2016 Freshman Class from XXL magazine, alongside the likes of Lil Yachty, Desiigner, Lil Dicky and Lil Uzi Vert, among others