OAKLAND — A janitor who worked in an Oakland office building is facing numerous charges for allegedly hiding a phone in a restroom to secretly record women, authorities said.

Moises Fuentes, 46, has been charged with 22 misdemeanor counts of invading the privacy of a dressing room and one count of indecent exposure, according to the Alameda County District Attorney”s Office.

Police said that at various times in February, March and April Fuentes filmed 13 women using a restroom stall at 825 Washington St. in the Old Oakland neighborhood. The women ranged in age from 26 to 40 and some of the videos were as long as one hour, authorities said.

The secretive video recording was uncovered in April, when a woman using the restroom noticed the phone and contacted police. Investigators found multiple videos shot in the restroom and videos that showed Fuentes handling the phone, according to a court affidavit by Oakland police Officer Mark Douglas II.

It took investigators months to identify eight of the women filmed, and five others have not yet been identified, according to police.

Fuentes was arrested July 29 after officers searched his home in Richmond. He was released from jail after posting bail and returns to court Dec. 3 for a pretrial hearing. The indecent exposure charge is related to an incident on Nov. 26, 2014, when an office worker saw Fuentes masturbating with his phone in his hand, police said.

A late call to his attorney was not immediately returned. ADA Commercial Maintenance, where police said Fuentes worked as a janitor, also did not immediately respond to a request for comment.