The Kentucky Supreme Court on Thursday reversed the 2013 murder conviction that sent James Anthony Gray to prison for killing his parents.

On Thursday, the high court unanimously reversed the conviction, ordering the double murder case to be remanded to Scott County Circuit Court for retrial.

Gray is charged with killing his parents, James and Vivian Gray, who were found dead in their Sadieville home in April of 2007. He was sentenced in April 2013 to 20 years each for the murder charges and five years for an evidence tampering charge. The conviction came in Gray's second trail; the first ended in a mistrial.

The high court's ruling, which was released Thursday morning, said Gray was coerced by detectives during a confession. Questions were raised about the tactics the detectives used to get a confession from Gray, according to court documents.

The ruling says two deputies with the Scott County Sheriff's Office obtained a confession from Gray in the fall of 2007 before he was charged in his parents' murders. The court says Circuit Judge Paul Isaacs erred in allowing the confession to be entered into evidence because the detectives provided Gray with fake documents that allegedly contained DNA evidence.

The ruling said it maybe be constitutionally permissible to allow "harmless misdirection" and "simple ruses" but the "use of false statements and phony lab reports as the sole basis for hours of unrecorded interrogation offends the guarantee of due process of law."