Rapper Kodak Black was on Wednesday, November 13, sentenced to 46 months in prison and three years of supervised release on federal weapons charges. As the Miami Herald reports, the South Florida rapper will serve significantly less time than the 10-year sentence he was facing.

Kodak pleaded guilty to charges stemming from his May arrest, which took place just before he was scheduled to perform at Rolling Loud Miami. He was charged with two counts of “making a false statement in connection with the acquisition or attempted acquisition of a firearm.”

The maximum penalty was 10 years behind bars and three years of supervised release, alongside a $250,000 fine. During his sentencing, it was also revealed that Kodak got himself into more trouble behind bars after he allegedly assaulted a prison guard.

The charges were leveled against Kodak after he allegedly lied to a gun dealer twice; once on Jan. 25 and once on March 1. He purchased three weapons during his first trip, but his transaction was denied when he attempted to buy two firearms on his second trip. He was required to fill out a form during both of these transactions, although he lied upon answering the questions since he is currently under indictment in South Carolina for first-degree criminal sexual conduct, which forbids him from owning a firearm.

In addition to the firearm charges, Kodak is still out on bond for his criminal sexual conduct case in South Carolina. No hearings in the case are currently scheduled, however.

Following his sentence, his IG page posted a photo of him in prison uniform with the caption, “Hold It Down While I’m On Lock. Calling Shots From The Box #Literally.”