Erik R. Torres, 33, and Marc O. Adam, 29, have pleaded guilty in federal court for their roles in operating a “pill mill” out of an Opelika medical clinic.

A “pill mill” is a medical clinic created to unlawfully sell pills for no medical reason.

“In 2012, Torres formed EMED Medical Management Corporation — the Opelika pill mill,” stated a press release from the U.S. District Court of the Middle District of Alabama. “Torres was the owner and chief executive of the pill mill and he hired Adam to serve as the day-to-day office manager.”

The two then hired Dr. Francisco Huidor-Figueroa as the “pill mill’s” physician, and instructed him to prescribe controlled substances (such as oxycodone) “to patients who had no legitimate need for the medicine and intended to either abuse the drug or sell the pills to others who would abuse them,” the release reads.

Court documents also state that some of these “patients” were pill dealers.

Torres, Adam and Huidor-Figueroa were also charged with money laundering.

An account was set up in the name of EMED Medical Management Corporation, where "pill mill" proceeds were deposited, which in part existed to "incentivize (Huidor-Figureoa) to continue to see patients and prescribe controlled substances, despite the patients' having no medical need," a court document states.

Huidor-Figueroa pleaded guilty in December to his role, and at least nine others have also been prosecuted in connection with this scheme.

Jean H. Thelomat, a co-conspirator, was identified as an associate of EMED's owners and operators. According to the indictment, Thelomat helped generate fake MRIs to be used by oxycodone-seeking patients. The MRIs were designed to appear legitimate, but actually contained false information about the patients' medical conditions.

Laura A. Robinson, who is serving time for her role in the operation, would verify the fake MRIs although she knew they were fraudulent. The indictment says she was paid a fee per patient, which sometimes came in the form of oxycodone.

Joseph M. McCann is accused of recruiting other patients to take part in the scheme. He's identified in the indictment as a "sponsor" who would sell patients the fake paperwork needed to illegally obtain oxycodone.

Huidor-Figureoa is scheduled to be sentenced April 28, where he could receive up to 20 years in prison for each charge.

A sentencing hearing for Torres and Adam has not yet been set. When sentenced, Torres and Adam face up to 20 years’ imprisonment on each count.

The remaining co-defendants were all "recruits" who used falsified paperwork to get oxy from the EMED clinic.