A 19-year-old arrested at a Donald Trump rally said he wanted to kill the presidential candidate.

Las Vegas Metropolitan Police arrested Michael Sandford on Saturday at Trump's rally at the Treasure Island Hotel and Casino.

Police say Sandford started chatting with one of their officers at the event and claimed he wanted to get Trump's autograph. But instead, Sandford tried to take the officer's gun, and officers quickly took him into custody.

6 PHOTOS Michael Sanford See Gallery Michael Sanford Man arrested at Donald Trump rally trying to take policeman's gun says he wanted to kill candidate - court papers https://t.co/ZCC2wbCAaM BREAKING: Man tried to grab cop's gun to kill Trump, feds say https://t.co/BdEPdhl8xx https://t.co/oroI4Iigo0 Teen arrested at Trump rally in Vegas, intended to grab officer's gun & kill the candidate @jeffpeguescbs has more https://t.co/qlGJ3hU7vk BREAKING: Man Who Grabbed Cop's Gun at Trump Rally Wanted To Kill Candidate, Official Says - https://t.co/bJsP1DpkCx https://t.co/cYDFBM6e5A Police: A 19-year-old at a Trump rally tried to steal a gun and kill the candidate https://t.co/fcPsWTAwP0 https://t.co/tBPYIsFkF9 Secret Service: Man at rally said he wanted to kill Trump https://t.co/11Av9WaZ3p https://t.co/7j16ddIlkI Up Next See Gallery Discover More Like This HIDE CAPTION SHOW CAPTION of SEE ALL BACK TO SLIDE

Court documents say Sandford was identified by his driver's license from the U.K. Sandford told investigators he's been in the U.S. about a year and a half, living in Hoboken, New Jersey.

Sandford allegedly told investigators he practiced shooting at a nearby gun range the day before the rally.

When officials asked Sandford why he tried to take the officer's gun, he said, "To shoot and kill Trump," admitting that he expected to be killed during the attempt.

The 19-year-old was transferred into the custody of the U.S. Secret Service. He's charged with attempting to commit an act of violence on restricted grounds.