Rapper Lil Wayne faces up to 10 years in federal prison after he pleaded guilty Friday to illegal gun possession.

Lil Wayne has been charged with criminal possession of a firearm and ammunition as a prior felony offender.

Lil Wayne, 38, was arrested in December 2019 as he arrived on a flight from California at the Opa Locka Executive Airport after a loaded gun wwas found in his bag.

His lawyers noted in November, when the charge was announced, that the musician did not use his firearm.

“The charge is that because he was convicted of a felony in the past, he is prohibited from possessing a firearm,” attorney Howard Srebnick said.

A sentencing hearing is scheduled for January 28, 2021.