The court ruled that the prosecution against Cosby was an unfair violation of due process.

Bill Cosby’s time in prison is over.

On top of that, the court has vacated his conviction.

Bill Cosby

Bill Cosby.Mark Makela/Getty Images

The legal reasoning is a little complicated.

A 2017 proceeding hadended in a mistrial with a deadlocked jury.

More importantly, the charge first came up back in 2005. decided to forgo his promise and charge Cosby criminally.

Sentence Announced In Bill Cosby Trial

Bill Cosby arrives for sentencing for his sexual assault trial at the Montgomery County Courthouse on September 25, 2018 in Norristown, Pennsylvania.Gilbert Carrasquillo/Getty Images

“No mere changing of the guard strips that circumstance of its inequity.”

A terrible wrong is being righted- a miscarriage of justice is corrected!"