A senior State Department official facing charges of soliciting a juvenile for sex in Fairfax County was arrested in the District on Sunday and charged with taking videos of women through the windows of their homes, according to authorities.

Assistant D.C. Police Chief Peter Newsham said detectives linked video on the man’s cellphone — examined after his arrest in Virginia — to 24 women in Adams Morgan, the U Street corridor and Mount Pleasant, the neighborhood in which the man lives.

“Specifically the videos show what appear to be adult women in the privacy of their homes in various stages of undress,” Newsham said at a news conference on Monday. “The videos revealed that they were often times taken with curtains and shades drawn.”

Daniel Rosen, 44, was charged with voyeurism and stalking. Newsham said there were 40 separate video recordings and that seven of the women were filmed multiple times, sometimes over several months, explaining the stalking charge. The precise number of voyeurism counts that Rosen faces will be determined after review by prosecutors.

A police affidavit used to obtain an arrest warrant says the videos were taken at night during a six-month period. “The camera was utilized in a way that it could see through very small areas in the windows,” Newsham said. The affidavit says the camera was placed close to the window and captured “a clear view of the victim” even if curtains or blinds were mostly drawn, or the windows were covered with metal bars or grates.

This handout photo provided by the Fairfax County, Va. Sheriff’s Office shows the booking photo of Daniel Rosen of Washington. (AP)

“Each of the victims appeared completely unaware” of the videotaping, the affidavit says.

Police said one series of videos was taken through a small window of a basement apartment, accessible only by an alley. The affidavit says the victim was filmed in her bedroom, undressing, changing clothes and going in and out of her closet. Another woman was filmed from outside her bedroom window while she was partially clothed, according to the affidavit.

Newsham said there is no indication that the videos were shared. Police used geolocation data embedded in the videos to find the victims, and Newsham said that anyone who thinks they were videotaped should call police at 202-727-9099. “We are still out there right now trying to identify victims,” Newsham said.

Rosen had been free on $25,000 bail stemming from his arrest on Feb. 24 in Fairfax on charges that he tried to arrange sex with an undercover police officer posing as a 14-year-old girl in an Internet chat room. Rosen’s LinkedIn account lists him as director of counterterrorism, plans, programs and policy for the State Department. A department spokeswoman said earlier this month that Rosen’s security clearance has been revoked, and he was placed on administrative leave.

Rosen’s attorney did not return calls seeking comment.