This story was updated at 5:50 p.m. EDT.
An intruder carrying mace and a letter for President Trump made it onto the grounds of the White House shortly before midnight Friday, according to the Secret Service.
President Trump was in the building at the time. The man was taken into custody without incident.
The Secret Service says Jonathan Tuan Tran, 26, of Milpitas, California scaled the outer perimeter fence of the White House grounds, and was stopped by an officer close to the South Portico entrance to the White House.
The officer charges Tran said "I am a friend of the President. I have an appointment."
Tran is charged with Entering or Remaining in Restricted Grounds While Using or Carrying a Dangerous Weapon
In a criminal complaint filed in U.S. District Court, the Secret Service says Tran was carrying two cans of mace, along with a U.S. Passport, an Apple laptop computer, a book written by President Trump, and a letter he had written to the president.
The complaint said that in the letter, "Tran mentioned 'Russian hackers,' and said he had information of relevance. Tran alleged he had been 'followed,' that his 'phone and email communications [had been] read by third parties,' and that he had 'been called schizophrenic.'"
"Secret Service did a fantastic job last night," President Trump told reporters Saturday. "I appreciate it." He then called the intruder "a troubled person."
The last major security breach at the White House was in 2014, when a man with a knife got through the front doors, overpowered a guard and ran across the first floor before being tackled. That and other security breaches led to the resignation of then-Secret Service director Julia Pierson.
The new fence will be five feet taller, and will incorporate "pencil-point" spikes and other security measures.