PHILADELPHIA (AP) - Prosecutors asked the U.S. Supreme Court to review the decision that overturned Bill Cosby’s conviction.

In a petition filed Monday, they wrote that courts should not equate a supposed promise made by a former prosecutor to lifetime immunity. They believe the Pennsylvania Supreme Court erred when it overturned Cosby’s conviction in June and released the 84-year-old actor from prison.

The state’s high court says Cosby relied on a promise he would never be charged when he gave damaging testimony that was later used against him.

Cosby was accused of drugging and molesting a woman in 2004. He spent nearly three years in prison.

Montgomery County District Attorney Kevin Steele said in a statement that "petitioning to ask the High Court for review was the right thing to do because of the precedent set in this case by the majority opinion of Pennsylvania Supreme Court that prosecutors' statements in press releases now seemingly create immunity."

He went on to say if the decision stands, it will have far-reaching negative consequences beyond Montgomery County and Pennsylvania, calling it a grievous wrong.

Cosby's camp fired back.

Andrew Wyatt, a spokesperson for Cosby called the filing a pathetic last-ditch effort: "In short, the Montgomery County D.A. asks the United States Supreme Court to throw the Constitution out the window, as it did, to satisfy the #metoo mob."

He went on to say there is no merit to Steele's request.

We reached out to the former district attorney who made the deal with Cosby nearly two decades ago. Bruce Castor says he first heard of the appeal when we contacted him Monday afternoon. He says he's not commenting.

Cosby has consistently denied the accusations against him.

DISCLAIMER FOR COMMENTS: The views expressed by public comments are not those of this company or its affiliated companies. Please note by clicking on "Post" you acknowledge that you have read the TERMS OF USE and the comment you are posting is in compliance with such terms. Your comments may be used on air. Be polite. Inappropriate posts or posts containing offsite links, images, GIFs, inappropriate language, or memes may be removed by the moderator. Job listings and similar posts are likely automated SPAM messages from Facebook and are not placed by WFMZ-TV.