Kodak Black thegrio.com
Kodak Black attends the 4th Annual TIDAL X: Brooklyn at Barclays Center of Brooklyn on October 23, 2018 in New York City. (Photo by Mike Coppola/Getty Images for TIDAL)

Rapper Kodak Black is expected to plead guilty to federal weapons charges.

A hearing is set for Thursday in Miami federal court.

The decision comes months after an original plea of innocence. Prosecutors in May charged the 21-year-old rapper for crimes that involve falsifying information on federal forms to purchase three firearms.

Prosecutors say one of the weapons purchased by Black was found at the scene of a South Florida shooting.

A federal judge denied his request for bond saying he was “danger to the community” based on his lengthy criminal record. Black has remained in a federal detention center in Miami since his arrest.

Authorities say he could face up to eight years in prison.

The rapper, known for singles “ZeZe” and “Roll in Peace,” also faces drug, weapons and sexual assault charges in other states.