A man with an AK-47 said he was going to the CIA, police say. First, he tried to enter a preschool.

A man was arrested after police said he was trespassing at a Virginia preschool. He allegedly said he was going to the CIA and had two guns in his vehicle, including an AK-47.

The Fairfax County Police Department shared Wednesday on Twitter that the man was trespassing at Dolley Madison Preschool in McLean, Virginia, located just miles away from Washington, D.C.

“Officers found the unarmed man who said he was making his way to the CIA,” the police department tweeted, identifying the man as 32-year-old Eric Sandow of Florida.

But officials said they searched the man’s vehicle and found two firearms, including an AK-47.

What to know: Two aides to Rep. Connolly attacked with baseball bat in his Virginia office: What we know

Politics: Rep. Boebert on high birth control prices: 'It's cheaper to have a kid'

Officials also found magazines and ammunition in the car, the Fairfax County Police Department confirmed in a statement to USA TODAY. Sandow was charged with felony possession of a firearm on school property.

The man requested access to the building’s facilities to use the restroom, which school staff denied, according to a statement from the school. He did not enter the premises before police arrived.

USA TODAY has reached out to the CIA for additional information.

The incident comes after two staff members who work for Rep. Gerry Connolly, D-Va., were hospitalized with non-life-threatening injuries after they were assaulted in the lawmaker’s district office in northern Virginia.

An individual, who officials identified as 49-year-old Xuan Kha Tran Pham, entered the office with a baseball bat before “committing an act of violence” against the two staff members, Connolly said in a statement after the attack earlier this month.

This article originally appeared on USA TODAY: Man with AK-47 arrested at preschool, said he was going to CIA: Police