CENTER VALLEY, Pa. (AP) — A Pennsylvania appeals court has ruled that a former university administrator who admitted spying on his DeSales University co-workers pumping breast milk or changing clothes must be re-sentenced.

The three-judge Superior Court this week ordered a judge to re-sentence 34-year-old John Bednarik II and sent the case back to Lehigh County Court.

READ MORE: Delaware Valley Elected Officials React To Texas School Shooting: 'These Victims Need More Than Thoughts & Prayers'

Bednarik admitted filming one woman pumping breast milk and trying to watch or film three others changing clothes in a gymnasium locker room. He was sentenced nine to 21 months in prison after pleading guilty in Sept. 2012 to invasion of privacy charges.

Bednarik appealed, claiming the judge imposed a sentence beyond the standard range because the incidents occurred at a Roman Catholic university. He was fired by the university.

READ MORE: Phillies, Zach Eflin Avoid Arbitration With 1-Year Contract With 2023 Mutual Option

A hearing is scheduled for Oct. 10.

(© Copyright 2013 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)

MORE NEWS: Student At Coatesville Area Senior High School Stabbed 6 Times During Fight