A 21-year-old man accused of firing shots at the White House last week was charged on Thursday with trying to assassinate US President Barack Obama, though the president was out of town at the time.
Oscar Ortega-Hernandez of Idaho appeared in a Pittsburgh court after his arrest on Wednesday at a hotel near Indiana, Pennsylvania, according to the US Secret Service.
No one was hurt in the shooting on Friday night. Obama and wife, Michelle, were not in Washington at the time.
The Secret Service said one bullet broke a White House window but was stopped by protective ballistic glass, and the other round struck the exterior of the building.