A second small fence added as a supplement to the main fence is shown outside the White House on Pennsylvania Avenue. (Photo by Win McNamee/Getty Images)

A second small fence added as a supplement to the main fence is shown outside the White House on Pennsylvania Avenue. (Photo by Win McNamee/Getty Images)

Omar Gonzalez—better known as the White House fence jumper—was sentenced today for the September incident in which he climbed over the barricade and made it to the East Room while carrying a folding knife.

He’ll serve 17 months in prison and another 36 months of supervised release, during which he’ll be banned from D.C. except for meetings with his lawyer and court appearances. The 42-year-old pleaded guilty to two federal offenses: unlawfully entering a restricted building or grounds, while carrying a deadly or dangerous weapon, and assaulting, resisting, or impeding certain officers or employees.

Gonzalez’s attorney has said that the Iraq war veteran was suffering from mental illness and PTSD. As part of his sentence, Gonzalez will be required to have a psychiatric evaluation and cooperate with the Secret Service to assess any risk he might pose.

“Mr. Gonzalez is now paying the price for his foolish decision to jump the fence and run inside the White House,” acting U.S. Attorney Cohen said in a release. “When he finishes his prison term, he will be barred from entering the District of Columbia and must receive psychiatric treatment. The prison sentence imposed by the court should deter others from taking actions that needlessly put the First Family and White House employees at risk.”

Gonzalez’s run through the White House was perhaps the most high profile in a string of embarrassing incidents for the Secret Service. They prompted changes within the organization—including the resignation of director Julia Pierson—as well as the addition of new barricades and security measures around the White House.