WASHINGTON - A man who opened fire on the White House with an assault rifle after telling friends he was on a mission from God to kill President Barack Obama was jailed for 25 years. Oscar Ramiro Ortega-Hernandez drove more than 2,000 miles (3,200 kilometers) to the US capital from his home in Idaho to carry out his November 2011 attack. Prosecutors said he fired at least eight rounds at the White House after telling friends he was “on a mission from God to take out” Obama. Obama and his family were not staying at the White House at the time, and no one was injured in the incident. Ortega-Hernandez, 23, pleaded guilty in September to terror and weapons charges. In addition to his jail term, Ortega-Hernandez was ordered to pay $94,000 in restitution for damage done to the White House by his attack. He faces five years of supervised release when he leaves prison.