A man who was recently accused of pleasuring himself with a toilet brush in front of women at a doctor’s office in New Jersey was found hiding in a children’s closet after breaking into a home, according to reports.

Brian Bates, 48, entered the family’s apartment at the condominium complex where he lives in Piermont, NY, by removing a screen to a window on Sept. 18, Patch reported, citing the acting Rockland County DA.

Two neighbors — Keah Larsen and her husband — spotted the nude Bates in the home and promptly called police, who found him hiding in the closet of Catherine Graham’s young daughters, according to NBC 4.

“My husband comes down like a cannon shot out of the building saying, ‘I think he’s in the apartment downstairs,’” Larsen told the station.

Bates was arraigned Monday on a felony burglary charge and held at the Rockland County jail on $15,000 bail, police said. If convicted, he faces a maximum of 15 years behind bars.

“Because of the great work of the Piermont Police Department and one brave citizen, this defendant was quickly apprehended and will be vigorously prosecuted,” acting DA Kevin Gilleece said Monday, according to Patch.

The incident comes five weeks after Bates was charged with public lewdness for allegedly exposing himself to a female on Aug. 12, the news site reported.

And in December, he allegedly masturbated in front of women at a Paramus doctor’s office while using a toilet brush to pleasure himself.

“Upon police arrival, officers found Bates in the bathroom with the door open while masturbating and simultaneously attempting to penetrate his anus with the handle of the toilet bowl scrubber,” borough Police Chief Kenneth Ehrenberg said in a statement at the time.

“This act was witnessed by several adult females who were in the office,” he added.

Bates has a history of public masturbation that goes back as far as 1997.

That year, he exposed himself to a 4-year-old girl in the bathroom of Barnes & Noble.

He was collared two months later after masturbating in front of two women at a Barnes & Noble bathroom.

And in 1998, he was arrested after exposing himself to three kids ranging in age from 8 to 11. After that incident, he pleaded guilty to fourth-degree lewdness observed by a child and was sentenced to a year of probation.