An Oklahoma man who served more than 30 years in prison for rape is now free after DNA evidence showed he didn’t do it.

Perry Lott was released Monday after an investigation by the Innocence Project.

He was sentenced in 1988 to more than 200 years in prison.

The Pontotoc County district attorney declined to vacate the conviction, but offered to modify the sentence to time served.

An attorney for the Project says Lott accepted the deal to avoid years of court battles.