A 23-year-old Buffalo gun trafficker, called “a dangerous individual” by Mayor Byron W. Brown when he hailed his arrest in June, has pleaded guilty to weapons charges and faces a lengthy prison term.

Kareem A. “Decatur” Howard, of Clark Street, pleaded guilty to second-degree criminal possession of a weapon and second-degree criminal sale of a firearm before State Supreme Court Justice M. William Boller, the Erie County District Attorney’s Office announced Wednesday.

Howard admitted selling nine guns to undercover officers during an investigation by state and city police. The investigation started when a city police officer became aware of his activities and developed information on his business, according to authorities.

Howard could face up to 25 years in prison on each count when sentenced Nov. 9.

Brown and Buffalo Police Commissioner Daniel Derenda gathered with state and federal law enforcement officials at Police Headquarters in June after Howard’s arrest to talk about their efforts to halt gun trafficking.

The total of nine handguns Howard admitted to selling on four occasions ranged from 9 mm semiautomatics to .45- and .38-caliber weapons.

Authorities have said that Howard bought some of his handguns in Georgia and brought them back to Buffalo and that one of the guns was stolen in a Niagara County burglary.