PASADENA >> What began as an investigation into public urination at a Pasadena Gold Line station on Wednesday led deputies to seize two guns, high-capacity magazines, suppressors and a machete from the suspect’s duffel bag, authorities said.

Deputies first approached a man about 9 a.m. after spotting a man relieving himself in a planter along the sidewalk outside the Sierra Madre Villa Gold Line Station at Madre Street and Foothill Boulevard, Los Angeles County sheriff’s officials said.

The deputies confronted the man about the offense, and the suspect provided them with what turned out to be a false name, according to Deputy Katherine Zubo of the sheriff’s Transit Policing Division, who took part in the arrest. The man was carrying a duffel bag with him.

A search of the suspect’s bag turned up a loaded AR-15-style rifle, fitted with two 30-round magazines and a suppressor, as well as a .40-caliber pistol with a high-capacity magazine and a suppressor and a large machete-style knife, Sheriff Jim McDonnell said. The bag also contained a notebook full of writings and a Bible. He was booked for weapons violations.

Sheriff’s officials also said that markings on the handgun indicated the weapon was to be used by “restricted law enforcement or government only.”

Investigators said they were looking in to how the suspect, identified as 28-year-old Christopher Harrison Goodine, of Union City, Georgia, came to possess the weapons, and what he may have ultimately intended to do with the weaponry.

“There is no intelligence to indicate there is a nexus to terrorism,” the sheriff’s said.

But he noted that any time a person is walking around with this type of armament in a duffel bag, “The outcome would not have been good no matter what he was going to do,” McDonnell said.

Goodine was believed to have boarded a train in Chinatown before exiting at the Sierra Madre Villa Station in Pasadena and encountering deputies, Zubo said.

Other than the public urination, Zubo said Goodine was not doing anything that would have attracted attention.

The deputy said she was glad she and her colleagues found the weapons before they became involved in a tragedy.

“Upon finding the bags, honestly, the first thing I felt was relief, because we got to this stuff first,” Zubo said.

McDonnell praised the actions of the involved deputies.

“Their proactive actions are commendable,” he said.

According to news reports and records, a man of the same name and birth month was arrested in a similar incident in New York about a year and a half ago.

A Christopher Harrison Goodine, then-26 and a resident of New Rochelle, New York, was arrested in November of 2015 after trying to sneak into the Waldorf Astoria Hotel in New York City while wearing body armor and carrying an empty gun holster and a ski mask, according to the New York Daily News. He told police at the time he wanted to take a shower.

Information regarding the outcome of that case was not available Wednesday.

Records show the same man jailed in connection with the New York incident had multiple convictions around the country, including carrying a concealed weapon in Virginia in 2012, obstructing justice by force or threat in Virginia in 2012 and obstructing police in Georgia in 2013. Records also show arrests in Florida and Washington, D.C.

Deputy Juanita Navarro-Suarez of the sheriff’s Information Bureau said officials could not confirm whether the suspect arrested in Los Angeles County was the same man previously arrested in New York City.

According to county booking records, Goodine was being held in lieu of $10,000 bail pending his initial court appearance, scheduled Friday in the Pasadena branch of Los Angeles County Superior Court.

Staff Writer Larry Altman contributed to this story.