donald trump rally man threatened harm gun police officer acosta lv _00001519.jpg
CNN
donald trump rally man threatened harm gun police officer acosta lv _00001519.jpg
Now playing
01:26
Source: Man who grabbed gun wanted to kill Trump
Green Party presidential nominee Jill Stein waits to be introduced prior to a press conference at the National Press Club August 23, 2016 in Washington, DC.
Win McNamee/Getty Images
Green Party presidential nominee Jill Stein waits to be introduced prior to a press conference at the National Press Club August 23, 2016 in Washington, DC.
Now playing
01:44
Jill Stein raises millions for recount
Former Democratic US Presidential candidate Hillary Clinton speaks to staff and supporters at the New Yorker hotel after her defeat in the presidential election November 9, 2016 in New York. / AFP / Brendan Smialowski        (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
BRENDAN SMIALOWSKI/AFP/Getty Images
Former Democratic US Presidential candidate Hillary Clinton speaks to staff and supporters at the New Yorker hotel after her defeat in the presidential election November 9, 2016 in New York. / AFP / Brendan Smialowski (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
Now playing
02:14
Scientists urge Clinton to call for recount
LYNDEN, WA - MAY 07: Republican presidential candidate Donald Trump gives a speech during a rally at the The Northwest Washington Fair and Event Center on May 7, 2016 in Lynden, Washington. Trump became the Republican presumptive nominee following his landslide win in Indiana on Tuesday. (Photo by Matt Mills McKnight/Getty Images)
Matt Mills McKnight/Getty Images North America/Getty Images
LYNDEN, WA - MAY 07: Republican presidential candidate Donald Trump gives a speech during a rally at the The Northwest Washington Fair and Event Center on May 7, 2016 in Lynden, Washington. Trump became the Republican presumptive nominee following his landslide win in Indiana on Tuesday. (Photo by Matt Mills McKnight/Getty Images)
Now playing
03:25
Donald Trump's wild ride
Now playing
01:46
Trump's challenges in the Middle East
donald trump undocumented immigrants crime fact check origwx ty_00013807.jpg
donald trump undocumented immigrants crime fact check origwx ty_00013807.jpg
Now playing
02:47
Fact checking Trump on crimes by immigrants
Mark Makela/Getty Images/Lintao Zhang/Getty Images
Now playing
01:26
Trump vs. the tape on Obama and the protester
Now playing
01:28
Trump compares Clinton email probe to Watergate
Members of the Secret Service rush Republican presidential candidate Donald Trump off the stage at a campaign rally in Reno, Nev., on Saturday, Nov. 5, 2016. (AP Photo/John Locher)
John Locher/AP
Members of the Secret Service rush Republican presidential candidate Donald Trump off the stage at a campaign rally in Reno, Nev., on Saturday, Nov. 5, 2016. (AP Photo/John Locher)
Now playing
01:20
Donald Trump rushed off stage by Secret Service
AFP/Getty Images
Now playing
02:16
Trump reads letter from Patriot's coach at rally
US Republican presidential nominee Donald Trump speaks during rally at the Atkinson Country Club in Atkinson, New Hampshire on November 4, 2016.
Mandel Ngan/AFP/Getty Images
US Republican presidential nominee Donald Trump speaks during rally at the Atkinson Country Club in Atkinson, New Hampshire on November 4, 2016.
Now playing
01:56
Trump on US officials: 'What a group of losers'
donald trump nice and cool pensacola fl bts_00001523.jpg
donald trump nice and cool pensacola fl bts_00001523.jpg
Now playing
00:49
Trump's mantra in campaign's final week: Stay on point
donald trump nice to hillary clinton and democrats orig cm_00000000.jpg
donald trump nice to hillary clinton and democrats orig cm_00000000.jpg
Now playing
01:52
Audio of Trump praising the Clintons and Democrats
cuomo lewandowski hillary clinton email exchange newday_00002327.jpg
cuomo lewandowski hillary clinton email exchange newday_00002327.jpg
Now playing
01:28
Cuomo grills Lewandowski on Clinton email 'hypocrisy'
Now playing
00:10
This video is no longer available
Now playing
01:49
Meet the other Hillary Clinton and Donald Trump
CNN —  

The man arrested for trying to disarm a police officer inside a Donald Trump rally in Las Vegas Saturday told authorities he intended to use the gun “to kill Trump,” according to a new criminal complaint.

Police arrested the 19-year-old after he attempted to pull a police officer’s gun from its holster inside a Las Vegas theater where Trump, the presumptive Republican nominee, was holding a campaign rally.

Police said Michael Sandford, a Briton, struck up a conversation with a Las Vegas Metropolitan Police officer under the pretense that he was seeking to get an autograph. During the conversation, police said Sandford tried to pull the officer’s service weapon from its holster.

A court sketch of Michael Sandford.
Stewart Freshwater
A court sketch of Michael Sandford.

Other officers also assigned to provide security at the event were quickly able to detain Sandford and authorities said there was no further disruption to the event.

Sandford told police that he drove to Las Vegas from California “to kill Trump,” according to the complaint, after hearing a few days earlier in the news that he was expected there.

He was in the country illegally, his visa having expired. He had been living out of his car in California for a month, according to CNN affiliate KSNV.

On June 17, he practiced shooting a gun for the first time at a gun range in Las Vegas.

“(Sandford) further stated that if he were on the street tomorrow, he would try this again,” reads the complaint, obtained by CNN. “Sandford claimed he had been planning to kill Trump for about a year but decided to act on this occasion because he finally felt confident about trying it.”

He made an appearance before a federal judge Monday, and has been charged with committing a violent act in a restricted area, according to KSNV. A message left with his attorney was not immediately returned.

Sandford also told authorities that had he not tried to assassinate Trump at the Las Vegas event, he had planned to go to his next rally, in Phoenix, Arizona, and try again there.

Trump is under U.S. Secret Service protection but local law enforcement often supplements them at campaign events.

The Secret Service says it has charged Sandford with violating two federal laws following the incident, including assault, and he could face up to a decade in prison if convicted. Because he was considered a flight risk, a judge on Monday ordered him to stay in custody until his next court appearance, which is a preliminary hearing scheduled for July 5.

Many of Trump’s rallies throughout the campaign have been contentious, with protests both inside and outside the events. Secret Service agents had to run to Trump’s side during a campaign rally earlier this year in Ohio to protect him against a man attempting to rush the stage during his remarks.

The Secret Service said other charges are still pending and the incident remains under investigation.

CNN’s Scott Glover, Theodore Schleifer, Noah Gray and Kristen Holmes contributed to this report.