Eduardo Franco, 22, of Highland Park, faces a minimum of six years in prison and he must register as a sex offender for life.
In July of 2009, a 32-year-old woman was attacked by Franco as she walked along the Green Bay bike trail.
The victim had just got off a Metra train at the Ravinia stop in Highland Park.
Police increased patrols in that area after the attack.