An Arapahoe County Judge sentenced a registered sex offender who attempted to snatch an 11-year-old girl as she walked home from school, to 25 years in prison.

“This is the nightmare scenario that haunts parents,” District Attorney George Brauchler said of the attempt in Aurora, according to a release. “The one we try to reassure ourselves will not happen to our children. Here, it did. Or almost did.”

The Prairie Middle School student got off a bus on Oct. 11, 2018, and was walking home when Tyler Mark Christensen, 33, grabbed her and covered her mouth to prevent her scream.

When the child bit his finger he released her and she ran home. Christensen ran in the opposite direction.

A homeowner’s security camera recorded his flight. On the following day, an Aurora police officer recognized him at a bus stop.

Christensen pleaded guilty to three counts of sexual exploitation of a child, a Class 3 felony. As part of the plea agreement, other charges were dismissed assuring that the girl wouldn’t have to testify.

“As the legislature flirts with further reducing the sanctions and supervision for sex offenders in our state, they should take note of this case — one in which a previously convicted and incarcerated sex offender who had already been through treatment was sent back onto our streets,” Brauchler said.

Christensen had previously sexually assaulted an 82-year-old woman. Christensen has a criminal record that includes assault and trespassing from 2006, attempted sexual assault and assault from 2008, and felony menacing from 2010. He was released from prison in October 2017.