CASPER, Wyo. — A Wyoming judge has sentenced a man to six to eight years in prison for having sex with a 14-year-old girl.

Marcus Jones had pleaded guilty to a single count of second-degree sexual abuse of a minor in February.

In sentencing Jones on Thursday, District Judge Catherine Wilking rejected a recommendation by prosecutors that Jones be sentenced to probation. The girl told authorities the sex was consensual.

Wilking noted that the maximum sentence for the crime is 20 years in prison. She added that the law and sentencing option were established to protect victims, as children are incapable of protecting themselves in such cases.

Wilking also recommended Jones for the state’s boot camp program. If he successfully completes it, he could apply for a sentence reduction.