Kodak Black is looking at spending up to ten years behind bars after pleading guilty to a federal weapons charge.

Black, real name Bill K. Kapri, pled guilty today to two counts of knowingly making a false and fictitious written statement in order to "unlawfully acquire firearms," according to CBS News.

The date for sentencing has been set for Nov.13th, and he is facing a maximum statutory sentence of 10 years in prison. Following his sentence, Kodak could also face three years of supervised release.

Kodak was arrested on the charges in Miami-Dade County, Florida right before his scheduled Rolling Loud set. A judge denied him bond after prosecutors felt that the young artist was "a danger to the community."

Kodak Black allegedly lied on forms when trying to buy firearms at a Florida shop. He reportedly indicated on forms "that he was not under indictment or information in any court for a felony or any other crime for which the judge could imprison him for more than one year."