Adrian Thomas, serving 25 years to life in state prison for killing his 4-month old son in Troy, has had his conviction overturned by the New York State Court of Appeals. On Thursday, the COA issued the unanimous ruling and blocked his statements from any retrial. Thomas was found guilty of second-degree murder.

Click here to read the full decision by the Court of Appeals.

Thomas’ attorney’s Jerry Frost and Ingrid Effman from the public defender’s office, had presented the case before the Court of Appeals on Jan. 14. Thomas, 31, was questioned by Troy detectives soon after the crime and they argued that police lied to him to get him to confess, all the while knowing the boy was close to death. Thomas was interviewed for more than nine hours in what Frost called a cruel hoax.

Officials say that police are allowed to lie to suspects, but not to the extent that a confession is given involuntarily. In this case, a police sergeant told Thomas his confession was needed to save his son’s life.

In 2012, the Appellate Division of state Supreme Court upheld Thomas’ conviction.