BENNINGTON -- A Manchester man who has been held without bail for the past eight-and-a-half months will spend the next 14 months in jail for having a sexual relationship with a 15-year-old girl.

Cody P. Shores, 20, pleaded guilty Thursday in Vermont Superior Court to sexual assault of a victim under 16 years old. He was sentenced to serve between 23 months and 10 years, with credit for the time he has been in jail. Deputy State's Attorney Christina Rainville said this will allow him to receive sex offender treatment.

Shores admitted to having a sexual relationship with a 15-year-old girl. According to Vermont State Police the girl had told a Department for Children and Families counselor about the relationship which led them to interview her.

In February 2012, Shores pleaded guilty to lewd and lascivious contact with a child. He admitted to performing a lewd act in front of a minor and was given a two- to 10-year suspended sentence and was placed on probation. In August 2013, after police learned of his relationship with the girl, Shores was incarcerated. When he was arraigned in September, the state charged him with four counts of sexual assault of a victim under 16 years old.

The state dropped three of those charges as part of the plea bargain. Rainville said the victim's sentiments go back and forth between wanting nothing to do with this case and wanting Shores to get treatment, but she maintains the relationship was consensual.

Legally, it was not consensual, Rainville said.

Shores' attorney, Christopher Montgomery, said his client is grateful for this opportunity to get sex offender treatment and not spend a lengthy time in jail.

Shores said he plans to go through treatment so "this doesn't happen again."

Judge Nancy Corsones took slight issue with his phrasing, saying he should make sure he does not do this again.

Contact Keith Whitcomb Jr. at kwhitcomb@benningtonbanner.com or follow him on Twitter @KWhitcombjr.