The U.S. Supreme Court on Tuesday passed on a thorny Miami prosecutorial misconduct case, putting an end to a three-year fight on whether the U.S. attorney’s office should pay $601,000 in defense costs for an acquitted physician accused of running a pill mill.

Dr. Ali Shaygan, who practiced in Miami Beach, was found not guilty in March 2009 of 141 counts of illegally prescribing narcotics to his patients. During the trial, a witness divulged on cross-examination that he was told by the prosecutors to secretly tape Shaygan’s defense attorney and his investigator.