Updated

A Colorado man who hid in the tank of a portable toilet at a yoga festival to spy on women has been sentenced to three years in prison and 10 years of probation.

Luke Chrisco's sentence was handed down Friday in Boulder. The 31-year-old pleaded guilty in July to attempted unlawful sexual contact and two burglary counts.

Police arrested Chrisco in 2011 after a woman at a yoga festival in Boulder noticed something moving in the tank of the portable toilet, then saw a feces-stained man emerge and run away. Police say he also was suspected of hiding in other bathrooms around Boulder to watch women use the toilet.

KUSA-TV reports that prosecutors dropped other burglary charges and a misdemeanor count of criminal invasion as part of a plea agreement.