Oscar Ramiro Ortega (U.S. Park Police)

Oscar Ramiro Ortega-Hernandez (U.S. Park Police)

An Idaho man who fired at least eight rounds at the White House in 2011 pleaded guilty today to terrorism and weapons charges.

Oscar Ramiro Ortega-Hernandez, 22, was arrested at a Pennsylvania hotel in November 2011, days after he shot at the executive mansion while neither President Obama or First Lady Michelle Obama were there. According to the U.S. Attorney for the District of Columbia’s office, Ortega-Hernandez acknowledged this was an act of terrorism, and pleaded guilty to one count of “injury to a dwelling and placing lives in jeopardy within the territorial jurisdiction of the United States” and one count of “discharging a firearm during a crime of violence.”

Prosecutors say that Ortega-Hernandez “made repeated statements to many friends and associates in Idaho about his contempt for the federal government, and he espoused numerous theories regarding how the federal government was seeking to control Americans through Global Positioning System chips, fluoride, and aspartame.” He also called Obama “the devil” and “the anti-Christ.”

In a statement about the plea deal, Ron Machen, U.S. Attorney for the District of Columbia, noted Monday’s shooting at the Navy Yard.

“Firing an assault rifle at the White House to make a political statement is terrorism, plain and simple,” Machen said in a release. “As we have seen this week, gunmen who come to the nation’s capital bent on violence can inflict terrible damage. This act of cowardice put lives at risk. Today’s plea demonstrates that those who come to the District of Columbia, planning to use violence to send a message, should expect to spend decades behind bars.”

Hernandez will be sentenced to at least 10 years in prison and possibly up to just over 27 years.