WASHINGTON — A Pennsylvania doctor with an assault-style rifle and a handgun told an acquaintance that he was driving to see the president and that he had survival supplies, multiple cellphones and enough ammunition to make his car resemble Oklahoma City bomber Timothy McVeigh “on a camping trip,” according to charging documents filed Thursday.

Bryan Moles, 43, was arrested at Trump International Hotel in downtown Washington on Wednesday and faces charges of unlawful possession and transportation of a firearm. He was not licensed to carry a gun in the District of Columbia, which has strict gun laws, authorities said.

The documents describe Moles as a recovering alcoholic and marijuana addict suffering from post-traumatic stress disorder. He served in the Navy from 1992 to 2006.

Before driving to the nation’s capital, Moles left voicemails for an acquaintance calling himself “a refugee intent on bringing down big pharmacy and big business medicine,” the documents said. He also made mention of Olympic Park Bomber Eric Rudolph, who was convicted of perpetrating multiple acts of domestic terrorism.

Authorities said a tipster contacted them about the messages and they arrested Moles. D.C. Police Chief Peter Newsham said in doing so, they averted a potential tragedy, though the Secret Service said agents interviewed Moles and determined he did not pose a threat. Officials described Moles as cooperative with the investigation.

In Moles’ hotel room, investigators found a safe with $10,000 inside.