Ronald Jedrykowski will also be on three years probation when he’s released.
Jedrykowski was facing a third trial for the crime, he was charged with six counts of sex crimes in 2005 and 2006.
One of the trials acquitted him of the 2006 charges.
Last week, Jedrykowski agreed to plead guilty to one of the 2005 crimes.
As part of his sentence, he’s not allowed around children unsupervised and must register as a sex offender.