One of eight people accused of being part of a heroin distribution ring pleaded guilty Wednesday to 12 counts in a federal indictment.

Jermaine Lorenzo Bailey, also known as “Yellow,” is named in a 2011 federal indictment involving a conspiracy connected to more than a kilogram of heroin and cocaine, according to one of the superseding indictments. He is also charged with the distribution of those drugs. The drug crimes began in at least 2006, the indictment said.

Bailey and others also are accused of using several places in Charleston, including apartments at Athens Court, King Street and the Bridgeview Apartments, formerly known as Bayside Manor, to manufacture and distribute drugs, according to the plea agreement.

The arrests included the seizure of about 10,000 bags of “SWAT” brand heroin found in a secret compartment of a sport utility vehicle in May 2011, a previous news release said.

Bailey will be sentenced at a future date. He faces a potential sentence of 20 years to life in prison, according to court documents.