Rufus Howell, 40, of Hartford, pleaded guilty Friday to one count possession of a firearm by a previously convicted felon and one count of possession of heroin with intent to distribute.

Court documents showed that on June 21, 2017, Howell was arrested after a search of a car he was driving in Hartford’s North End had a loaded 9mm pistol in it. Court documents showed law enforcement also found about 14 grams of heroin and fentanyl, roughly 40 grams of cocaine and an undisclosed amount of marijuana.

Howell’s criminal history includes multiple state felony convictions and a 2005 federal felony narcotics conviction, the DOJ said.

Federal law forbids a convicted felon from owning a gun or ammunition.

The gun charge carries a maximum term of 10 years in prison. The drug charge carries a maximum term of 20 years in prison.

Howell has been detained since his arrest in June 2017. He is scheduled to be sentenced on Nov. 16.