Federal prosecutors said Oscar Ramiro Ortega-Hernandez, 21, of Idaho Falls, Idaho, is named in a 17-count indictment alleging he tried to kill Obama Nov. 11, assaulted federal offices with a deadly weapon and committed other weapons violations.
Ortega-Hernandez could be sent to prison for life if found guilty.
Federal authorities allege he drove his car past the entrance to the Ellipse on Constitution Avenue, N.W., and fired several rounds at the White House. No one was injured.
Ortega-Hernandez was arrested in Pennsylvania several days after the shooting and transported to Washington.
Ortega-Hernandez also allegedly made a videotape in which he claimed to be Jesus Christ, The Washington Post reported at the time.