Kodak Black’s legal problems are getting smaller and smaller.

Nearly two months after the 20-year-old rapper had three charges dismissed, prosecutors have reportedly dropped the remaining felony counts stemming from the January police raid on his Florida home.

The Blast reports Kodak was cleared of the marijuana and gun possession charges after he pleaded guilty to two probation violations: driving on a suspended license as well as “associating with people committing crimes.”

This was a huge break for Kodak, as it has significantly reduced his sentence in county jail. He was initially facing up to 12 years behind bars before the charges were dropped. The rapper’s attorney, Bradford Cohen, says Kodak’s projected release date is Sept. 17; once he is free, Kodak’s probation and community control will also end.

“The State and Judge were professional and fair,” Cohen tweeted. “I am happy not just for a client, but for a friend. There are great things in store for him, and he is glad to have this behind him.”

As previously reported, Kodak was arrested and booked on seven felonies earlier this year after authorities swarmed his residence on Jan.18. The raid, which was captured during Kodak’s Instagram Live broadcast, resulted in his arrest as well as multiple charges, including child neglect and grand theft of a firearm.

Cohen reportedly questioned the legality of the raid, specifically pointing to the lack of body cam footage as well as the task force’s involvement.