CHICAGO (AP) — A 31-year-old Chicago man has pleaded guilty to federal gun charges for illegally selling more than a dozen firearms.

A Wednesday statement by the U.S. attorney's office says Jymil Campbell sold ten handguns, four large-capacity magazines and three rifles during a nine-month period in 2016. He received $8,700 in cash from the sales to what turned out to be confidential informants.

As part of a plea deal, Campbell pleaded guilty to willfully dealing firearms without a license and illegal possession of a firearm by a convicted felon. Campbell had previous convictions for home invasion and armed robbery.

The prosecutors' statement didn't provide details on terms of the plea deal. U.S. District Judge Robert Gettleman set sentencing for Nov. 15. Campbell faces a maximum 15-year prison sentence.