PRINCETON - A window cleaner working at a private boarding school in Princeton snuck into a school bathroom and took photographs of a teenage girl inside, police said Friday.

File photo of The Hun School of Princeton. File photo.

Henry Torres-Lopez, 29, was charged with invasion of privacy, endangering the welfare of a child and tampering with evidence Wednesday after school officials identified him and called police.

Torres-Lopez was working with a cleaning crew hired to wash windows at the prestigious Hun School in Princeton at around 3:30 p.m. Wednesday, police said.

He allegedly entered a girls' bathroom and photographed a 14-year-old girl, police said in a statement. They did not say how he photographed the girl or where she was in the bathroom at the time.

School officials identified and Torres-Lopez and called police, who took him into custody Wednesday afternoon. He was released with a summons and a pending court date, the statement said.

The Hun School is a private school in Princeton with over 500 students, including some who board there, according to their website.

The Hun School released a statement Friday commending police on catching Torres-Lopez. They said they could not comment on the investigation because it's ongoing.

This story has been updated with a statement from the school

Anna Merriman may be reached at amerriman@njadvancemedia.com. Follow her on Twitter @anna_merriman