A Burlington County pharmacist admitted in federal court Thursday that he was part of a long-running drug operation, illegally distributing large quantities of oxycodone and other drugs from two Medford pharmacies.

David Goldfield, 58, of Medford Lakes, pleaded guilty to conspiracy before U.S. District Judge Jerome B. Simandle in Camden. He also pleaded guilty to illegally distributing the drugs at the pharmacies, which were licensed to do so at the time.

Last month, Goldfield and his boss, Michael Ludwikowski, 44, of Medford, were indicted on allegations that they fueled an illegal drug trade through the Olde Medford Pharmacy on Stokes Road and Medford Family Pharmacy on Old Marlton Pike, both owned by Ludwikowski.

This week, Goldfield applied to be released on bail. Last month, his attorney, Gilbert J. Scutti, requested that his client remain in prison because he was emotionally unstable and in need of counseling.

Scutti said Thursday that Goldfield had received the necessary counseling and medication, and was emotionally stable. Simandle agreed that Goldfield could be released on his own recognizance, but said he must continue counseling. Scutti said he hoped Goldfield would be released by next week.

By pleading guilty Thursday, Goldfield could significantly reduce a potential prison sentence. He faces a possible 20 years, but has no previous criminal history. Scutti said Goldfield participated in the conspiracy, fearing he would lose his job if he refused.

Last month, Assistant U.S. Attorney Justin C. Danilewitz said the men dispensed drugs knowing that they were filling fraudulent prescriptions.

Medford Family Pharmacy has since merged with Olde Medford, and the store on Old Marlton Pike has closed. Ludwikowski last month was released on bail pending trial. He was allowed to return to his business, but neither Ludwikowski nor the pharmacy can sell prescription drugs other than topical substances. Ludwikowski has pleaded not guilty.

856-779-3838 @BBBoyer