Cole Tomas Allen, 31, was charged with attempting to assassinate US President Donald Trump.