A British man who had attempted to kill presumptive Republican U.S. presidential nominee Donald Trump at his Las Vegas campaign rally June 18 was indicted on federal charges Wednesday and could face up to 30 years in prison.

Michael Steven Sandford was charged with disrupting an official function and two firearm possession counts by a grand jury, U.S. Attorney Daniel Bogden reportedly said.

Federal agents say that the 20-year-old admitted that he drove from San Bernardino, California, to Las Vegas with the intention of killing Trump. He even went to a Las Vegas gun range to learn to shoot the day before the rally. The U.S. Secret Service said that Sandford wanted Trump's autograph and then tried to grab a police officer's gun to shoot the real estate mogul.

Sandford is scheduled for arraignment on Wednesday in Las Vegas. According to reports, if convicted Sandford could also face a fine of up to $750,000 in addition to his possible 30-year jail time.

The Associated Press reported that people who knew Sandford called him intelligent and that as he got older signs of his Asperger's syndrome had become more obvious. Sandford had been treated earlier for obsessive compulsive disorder and anorexia. He lived in his car before the arrest.

Sandford was denied bail Monday by U.S. Magistrate Judge George Foley Jr. on the grounds that he would be a flight risk. It was revealed that Sanford was in the U.S illegally after having overstayed his U.S. entry visa by about nine months. He is unemployed.

During Sandford's first court appearance, Foley acknowledged that he may not be of sound mental health. Sandford’s appointed lawyer Heather Fraley said that he had previously attempted suicide and once ran away from a hospital in England. But, she stated that she believed Sandford is competent for trial.