A 19-year-old arrested on Saturday for trying to take a Las Vegas police officer’s gun during a Donald Trump rally says he planned to use the weapon to kill the candidate, the AP reports. The man, Michael Sandford, was arrested at the Treasure Island casino inside a theater where Trump was speaking; it doesn’t appear that he ever actually gained possession of the gun. From the AP:

A complaint filed Monday in U.S. District Court in Nevada charges Michael Steven Sandford with an act of violence on restricted grounds.

It cites a report by Special Agent Swierkowski, whose first name was not included, saying Sandford told officers he drove from California to kill Trump and went to a Las Vegas gun range the day before to learn to shoot.

The presumptive Republican nominee’s rallies and events have often been marked by violence—some of which has been instigated, in recent months, by anti-Trump protesters.