BANGOR, Maine — A South Carolina man who admitted selling drugs in Greater Bangor was sentenced Wednesday in U.S. District Court to 10 years in federal prison.

Terrance, aka “Ray Ray” and “Terrence,” Douglas, 35, of Bennettsville, South Carolina, pleaded guilty in April to charges of drug conspiracy, possession of crack cocaine, powdered cocaine and heroin, and being a felon in possession of a firearm and ammunition.

One count of use of a firearm in a drug conspiracy was dismissed at sentencing, according to information posted on the court system’s website.

In addition to prison time, Douglas, who has been held without bail for more than a year, was sentenced to eight years of supervised release.

By pleading guilty, Douglas admitted that between April and October 2014 he imported drugs from out of state and then prepared, packaged and distributed them in the Bangor area. Douglas, who had a previous felony conviction for distributing crack cocaine, also was in possession of a loaded Smith & Wesson .44 magnum pistol, according to the U.S. attorney’s office.

“Douglas would travel out of state by bus to acquire the drugs. He would bring large quantities of cash to his out-of-state supplier to buy the drugs,” the prosecution version of events to which he pleaded guilty said. “He would transport the drugs back to Maine. Once the drugs were back in Maine, he would process, package and sell the drugs himself, sometimes with the assistance of others.

“He would coordinate the sale of drugs with others in person and through the use of phone calls and text messages,” the document said. “He would collect proceeds from the sale of the drugs and use some of those proceeds to purchase a re-supply of drugs from his out-of-state source.”

Douglas and Tiffany Sutherland, 29, of Bangor were stopped Oct. 29, 2014, in a car driven by Timothy Thorpe, 34, of Dedham on the southbound lane of Interstate 95 near Hogan Road, according to a previously published report.

A search of Douglas’ motel room the next day led to the federal charges.

Thorpe has not been charged in federal court.

Sutherland is scheduled to be tried in January on drug charges. She has been free on bail since May.

Douglas faced between 10 years and life in federal prison and a fine of up to $8 million on the charges.

Sutherland faces between five and 40 years in federal prison and a fine of up to $5 million on the drug charges if convicted.