In their 79-page opinion, the judges wrote that a “non-prosecution agreement” that had been struck with a previous prosecutor meant that Mr. Cosby should not have been charged in the case, and that he should be discharged. They barred a retrial.
In 2005, Mr. Cosby was investigated in the case of Ms. Constand, and a former district attorney of Montgomery County had given Mr. Cosby his assurance that he would not be charged in the case.
The former district attorney, Bruce Castor Jr., has testified that while there was insufficient evidence to bring a criminal prosecution, he had given Mr. Cosby the assurance to encourage him to testify in a subsequent civil case brought by Ms. Constand.
In that testimony, Mr. Cosby acknowledged giving quaaludes to women he was pursuing for sex — evidence that played a key part in his trial after Mr. Castor’s successors reopened the case and charged Mr. Cosby in December 2015. That was just days before the 12-year statute of limitations expired in the case, and it came amid a number of new accusations from women who bought similar accusations of drugging and sexual assault against Mr. Cosby.
“In light of these circumstances, the subsequent decision by successor D. A.s to prosecute Cosby violated Cosby’s due process rights,” the appeals ruling said. “No other conclusion comports with the principles of due process and fundamental fairness to which all aspects of our criminal justice system must adhere.”