MOUNT VERNON, Ill. (AP) — An Alton man convicted of raping two toddlers and sentenced to life in prison will get a new trial after the appellate court overturned his conviction.

The Belleville News-Democrat reports that in December 2012, 33-year-old Michael Burgund was found guilty on five counts of predatory sexual assault of two girls between the ages of 1 and 3 years old.

According to trial testimony from 2012, Burgund walked into the Alton Police Department in April 2011 and confessed to molesting the girls. Burgund testified he never abused the girls and gave a false confession because he was psychologically manipulated into believing he had done so.

The appellate decision said the judge who ruled in Burgund’s trial should’ve permitted a psychologist to testify about Burgund’s suggestibility, so that the jury could consider whether the confession was real or false.