A man who told authorities there was a firearm in his vehicle was arrested Tuesday at Trump International Hotel in downtown Washington, police said.

Dustin Sternbeck, the D.C. police spokesman, said the man arrested had entered the hotel to attend an event and had to pass through a security checkpoint staffed by the U.S. Secret Service.

Sternbeck said that when the man went through the checkpoint, “he self-reported having a firearm in his vehicle.” Sternbeck said authorities found a firearm and ammunition in the vehicle, and the man was arrested on charges of possessing an unregistered firearm and unregistered ammunition.

Police did not say where the vehicle was parked. The man’s name was not immediately made available.

Sternbeck said the man “never made any threats.”

Sternbeck said there were two events going on at same time at the hotel, one of which required Secret Service inspection. He said the man arrested was not attending that particular event, but the Secret Service was checking everyone going into the hotel.