LOS ANGELES (AP) — A California man who was arrested at President Donald Trump’s Los Angeles-area golf course while pretending to be part of the security detail preparing for Trump’s visit is due in court Wednesday on a federal weapons charge.Jeanine John Taele, 38, was arrested Sunday at Trump National Golf Club in Rancho Palos Verdes, two days before Trump visited for a fundraising dinner.Taele was first seen on the property Friday, walking throughout the course wearing an earpiece and taking photos and videos of federal agents’ activities as they conducted a security assessment, according to a federal criminal complaint.Taele drove away but then returned to the course Sunday. He approached federal agents and said he was employed by the State Department and was there for a security detail. Taele said he had a loaded weapon in his vehicle and was arrested after it was searched, according to federal officials. Authorities also found a 16-round magazine with ammunition in his pocket.

Taele was scheduled to appear in federal court in Los Angeles on Wednesday afternoon, pending his transfer from state to federal custody, said a spokesperson for the U.S. attorney’s office. He already appeared in court on state weapons charges.Taele is charged federally with possession of an unregistered short-barreled rifle that was found at this home, authorities said. The complaint alleges the firearm is an illegally modified AR-style rifle with a barrel that was cut down to 10 inches (25 centimeters) from 14 inches (35 centimeters).