A 23-year-old Lincoln man pleaded no contest Friday to sexually assaulting an 8-year-old girl he'd taken from her bed in 2015.
Cody Riddle will face 20 years to life in prison at his sentencing in December.
In exchange for Riddle's no-contest plea to first-degree sexual assault of a child, Deputy Lancaster County Attorney Amy Goodro dismissed a burglary and kidnapping charge he also had faced.
A conviction for kidnapping would've meant a life sentence.
Police say early Aug. 27, 2015, Riddle went to steal items from the girl's home, entered through an open garage, saw the girl and took her to his garage, where he bound her, sexually assaulted her and threatened to kill her or her family if she told anyone.
Riddle then let her go. The girl told her parents, who called police. Riddle was arrested later that day.
His case got stalled in county court over competency issues, but in May he was found competent. Not long after, his case moved to district court, where he had been awaiting trial.
Riddle has been at the Lincoln Regional Center for much of the past three years. Friday, Lancaster County District Judge Lori Maret ordered him to remain there pending sentencing.