Kodak Black has pleaded guilty to federal firearms charges he was hit with in May.

According to CBS' local Miami affiliate, the Florida rapper changed his original not guilty plea to guilty during a hearing on Thursday (Aug. 22). Kodak had initially entered a not guilty plea on May 15. Sentencing is reportedly set for Nov. 13.

Kodak was arrested on the firearms charges the night he was supposed to perform at the 2019 Rolling Loud Miami music festival on May 11. He’s been behind bars since that time.

Prosecutors allege that Kodak was filling out paperwork in order to purchase weapons this year and that he checked off the "no" portion on that form that asked if he had been charged with felonies in the past. However, the rapper's response was flagged due to the fact that he was indicted for criminal sexual conduct for a 2016 case in South Carolina.

For this gun case, Kodak was indicted for two counts of making a false statement in connection with the acquisition or attempted acquisition of a firearm in Florida. His attorney Bradford Cohen says Kodak may have been confused over the legal jargon on the Firearms Transaction Record form.

"When you throw around legal terms like indictment, information, or anything like that where someone's not an attorney, [the federal government is] making the assumption that you know what that means," Cohen told XXL on May 13. "Down here, they file in information. Like in state court, they file information. Generally, they don't indict unless it's a capital crime. So every state has different terminology."

XXL has reached out to Bradford Cohen for comment.

See 18 Rappers Who've Been Arrested in 2019