The plea agreement imposes six months in county jail, a suspended 10-year prison sentence, lifetime sex offender registration.