McDonald would make deliveries while on duty and in uniform from the businesses -- Prime Performance Wellness Centers Inc., located in Lake Worth, and Prime Health and Rejuvenation Clinic, located in Wellington.

McDonald had been a police officer for 20 years but had a long history of misconduct, including a suspension for purchasing steroids from the PowerMedica pharmacy in Deerfield Beach.

He was fired from the force in 2013.

According to prosecutors, McDonald ran his businesses as places that sold testosterone and HGH, but he also illegally sold anabolic steroids and prescription drugs between September 2011 and April 2013.

McDonald also forged doctors' signatures on prescriptions, altered prescriptions, and illegally split larger vials into smaller ones, according to prosecutors. He also signed his own name on prescription labels that listed doctors' names.

Court documents say that McDonald made deliveries, with his gun, to another officer within the West Palm Beach Police Department and then another delivery to a customer in Palm Beach County on March 5, 2013.

The City of West Palm Beach released a statement after McDonald was arrested earlier this month.

"The case involving former officer McDonald first came to the attention of the city and it was the city that then handed it to federal investigators," the statement reads. "We were fully aware of the upcoming arrest, and have worked with federal investigators since we originally handed them the case. McDonald was fired seven months ago."

McDonald was released on a $250,000 bond until his sentencing. U.S. District Judge James Cohn ordered McDonald not to possess a gun or leave South Florida without permission from court authorities.

Get the This Week's Top Stories Newsletter

Every week we collect the latest news, music and arts stories — along with film and food reviews and the best things to do this week — so that you’ll never miss New Times Broward-Palm Beach's biggest stories.