A man from Cartwright, Oklahoma, pleaded guilty Monday in the 59th state District Court to one charge of continuous sexual assault of a child. Anthony Odell McKinney, 29, was set to go on trial on the charge beginning Tuesday.

McKinney could have faced up to life in prison if convicted of the charge. Under the plea agreement, McKinney got 60 years in prison and will be eligible for parole after 30 years.

He was represented in the case by Gaylon Riddles, who could not be reached for comment Monday.

A report from the Bryan County Sheriff’s Office said that McKinney was interviewed about an outcry from a 10-year-old child in Bells saying he had penetrated her anus with his sexual organ and had touched her vagina with his hands. McKinney repeatedly denied the outcry and said there were several other people who had access to the child, including one who was a registered sex offender. He said the child in question behaved in a sexually suggestive manner and had to be kept away from other children because of the behavior.

The child alleged that he showed her pornography, which he also denied in the BCSO office. The child was examined by a sexual assault examiner who said the child’s physical exam confirmed she had been assaulted in the manner that she claimed.

Matt Johnson handled the case for the Grayson County District Attorney’s Office.