Omar Gonzalez pleaded guilty to entering or remaining in a restricted building or grounds while carrying a deadly or dangerous weapon and assaulting, resisting or impeding a Secret Service officer.
The September 19 incident in which Gonzalez was able to breach White House security preceded the disclosure of other serious Secret Service breaches in security for President Barack Obama and ultimately led to Julia Pierson's resignation as director of the agency after 18 months on the job.
After Gonzalez's arrest, investigators found hundreds of rounds of ammunition, a machete and two hatchets in his car. A folding knife he was carrying in his pants pocket when he was arrested had a blade that was 3.5 inches long, according to the Secret Service.
Gonzalez allegedly told a Secret Service agent after his arrest that he "was concerned the atmosphere was collapsing and needed to get the information to the president of the United States so that he could get the word out to the people.