A York man faces up to 20 years in prison for child porn when he's sentenced in May.
Twenty-year-old Cody Begemann pleaded no contest on Monday after making a deal with prosecutors.
He was facing two counts of possessing child pornography. In return for his plea, one count was dropped.
Begemann is scheduled to be sentenced on May 7.