A local sheriff called the suspect a "lunatic" and his office added the encounter did not affect the safety of Trump or the rally's attendees.
According to authorities, a guy was detained on Saturday at an intersection close to Donald Trump's Coachella, California, event for illegally possessing a loaded handgun and a shotgun.
Two weapons and a "high-capacity magazine" were found by deputies stopping 49-year-old suspect Vem Miller at a security checkpoint while he was operating a black SUV.
The Riverside County Sheriff's office reported that Mr. Miller was subsequently brought into custody "without incident" and charged with both possession of a loaded handgun and possession of a high-capacity magazine.
Trump "was not in any danger," according to the US Secret Service, which further noted that the event had no bearing on protective operations.
A local sheriff called the suspect a "lunatic" and his office added the encounter did not affect the safety of Trump or the rally's attendees.
Many questions remain unanswered.
While Riverside County Sheriff Chad Bianco said it was impossible to speculate about what was in the mind of the suspect, he said he "truly believed" that his officers had prevented a third assassination attempt.
He added that it might be impossible to prove that this was the man's intent.
A federal law enforcement official told CBS News there was no indication of an assassination attempt connected to this incident.
Federal authorities say they are still investigating the incident, and it would be up to them to pursue any additional charges.
Mr Bianco is an elected official and a Republican who has previously expressed support for Trump. He is also acting as a surrogate for Trump's re-election campaign.
The incident - which occurred at 16:59 PDT (00:59 GMT) - an hour before Trump was scheduled to appear on stage - highlights, once again, the intense security operation around him, and the dangers facing the former president, with just over three weeks to go until the election.
It follows two high-profile alleged assassination attempts on Trump earlier this year.
Mr Miller was was charged with two misdemeanour weapons charges and was released on a $5,000 (£3,826) bail. No federal charges have been filed.
In a police news conference earlier on Sunday, Mr Bianco warned he might not be able to "give all of the information... because of what we're doing".
The sheriff added that as the suspect approached an outside perimeter, near the location of the rally, he "gave all indications that he was allowed to be there".
But as the suspect got to the inside perimeter, "many irregularities popped up", Sheriff Bianco added, explaining that the vehicle had a fake licence plate and was in "disarray" inside.
Multiple passports with multiple names and multiple driving licences were found in the car, the sheriff said, adding that the licence plate was "home-made" and not registered.
He added that the suspect had told authorities he was a member of the far-right group called Sovereign Citizens.
He said the licence plate was also "indicative of a group of individuals that claim to be Sovereign Citizens", but he had not concluded that Mr Miller was a member.
"I wouldn't say it's a militant group. It's just a group that doesn't believe in government and government control," he said. "They don't believe that government and laws apply to them."