The 22-year-old Idaho man accused of firing an assault rifle at the White House in 2011 pleaded guilty Wednesday to terrorism and weapons charges.
Oscar Ramiro Ortega-Hernandez faces upwards of 27 1/2 years in prison when he's sentenced on Jan. 10, 2014.
"Firing an assault rifle at the White House to make a political statement is terrorism, plain and simple," said U.S. Attorney Ron Machen in a prepared statement. "As we have seen this week, gunmen who come to the nation's capital bent on violence can inflict terrible damage."
No one was hurt in the shooting.
Ortega-Hernandez opened fire on the White House on Nov. 11, 2011. Before the shooting, he told friends that President Barack Obama was the anti-Christ and he needed to kill him, prosecutors say.