A Brit who tried to grab a police officer's gun at a Donald Trump rally told investigators he wanted to shoot the presidential hopeful, court papers say.
Michael Steven Sandford has been remanded in custody after appearing in court in Nevada where he did not enter a plea to a charge of committing an act of violence on restricted grounds.
The 20-year-old was arrested at a Trump rally in Las Vegas on Saturday.
He said he had been planning to shoot Trump for over a year after moving to the US, where he was living illegally, the court heard.
According to court papers, Sandford said he went to a firing range on June 17 to learn how to shoot a gun.
At the rally the next day, the papers say he approached a police officer and told him he wanted to get an autograph from Trump.
He then tried to seize the gun officer's gun with both hands when he thought he saw the holster in an unlocked position.
Sandford said he believed he would die during the "assassination bid", the papers say.
Sandford, who was found with a British driving licence on him, is unemployed and had been living out of his car in Hoboken, New Jersey.
A federal public defender said he has autism and has attempted suicide previously.
His mother told the judge he had been treated for obsessive compulsive disorder and anorexia as a youngster.
A Foreign Office spokesman said: "We are providing assistance following an arrest of a British national in Las Vegas."