HARTFORD, Conn. (AP) – A former Connecticut elementary school principal has pleaded guilty to using a school-issued smartphone to secretly photograph and record young girls, including an attempted “upskirt” video.

The Hartford Courant reports (http://cour.at/2hZUyw5) that 47-year-old John Bean faces up to two years in prison for voyeurism charges when he’s sentenced in January.

The former Wethersfield principal was arrested at a store last year after employees realized he had been “following children and attempting to surreptitiously photograph them.”Related Content: Former principal arrested again for voyeurism of children in stores

Investigators found 14 video files on Bean’s laptop that police say show female children being recorded in public places.

Authorities say one video shows the suspect attempt an “upskirt” video.Related Content: Principal resigns amid investigation of photographing girls

Bean resigned from Highcrest Elementary School in November. Authorities say four of the videos were taken while he was principal there.