FORT WORTH, Texas (AP) — A Texas judge has signed an order that exonerates a man who spent 19 years in prison after being wrongly convicted of murder.

The Wednesday ruling means 44-year-old John Earl Nolley has been declared innocent in the 1996 slaying of Sharon McLane. The order also makes Nolley eligible for state compensation.

State District Judge Louis Sturns apologized to Nolley for the state's actions.

The Texas Court of Criminal Appeals overturned Nolley's conviction in May , leading to Wednesday's ruling.

Nolley was freed in 2016 after a witness admitted he lied and a bloody palm print at the crime scene was linked to another person.

The witness who lied was a jailhouse informant. The case contributed to changes in Texas law that placed more controls on testimony provided by informants.

More From News/Talk 95.1 & 790 KFYO