An alleged enforcer for one of Atlantic City’s allegedly most violent gangs pleaded guilty today to being part of a drug-trafficking conspiracy and possessing a firearm as a convicted felon.

Shaamel Spencer, 30, pleaded guilty to one count of conspiracy to distribute and to possess with intent to distribute 100 grams or more of heroin, and one count of being a previously convicted felon in possession of a firearm.

Information in the case said Spencer — known as “Buck” — was an enforcer for alleged gang leader Mykal Derry, 33, helping Dirty Blok control the heroin trafficking trade in and around Stanley Holmes, Carver Hall, Schoolhouse, Adams Court and Cedar Court. Spencer assisted in the distribution of heroin to Dirty Block customers.

Spencer was arrested Oct. 30, 2012, months before a federal raid took up several alleged Dirty Blok members and associates.

A search of Spencer’s residence at the time found about $4,500 in suspected drug proceeds, as well as a 9mm semi-automatic handgun and approximately 44 rounds of 9mm ammunition.

Spencer and other members of the Dirty Block gang – a number of them previously convicted felons – travelled to a shooting range in Lakewood, N.J., where they were photographed firing handguns.

As part of his plea, Spencer admitted he took a handgun to an Atlantic City casino where he believed Derry was involved in a violent fight with his rivals. Spencer also agreed to forfeit the proceeds of his drug trafficking as well as his firearms and ammunition.

The drug conspiracy charge carries a term of five to 40 years in prison, and a maximum fine of $5 million. The felon-in-possession charge carries a maximum potential penalty of 10 years in prison and a $250,000 fine.

He is scheduled to be sentenced July 22.

Spencer was one of 12 alleged Dirty Blok members set to go on trial this month. That trial was postponed due to other matters.