A bond hearing is scheduled Monday in federal court in Washington for 26-year-old Jonathan Tuan Tran of Milpitas.

He is charged with entering restricted grounds while carrying a dangerous weapon. He faces up to 10 years in prison. Court records allege Tran was carrying two cans of Mace when he was arrested.

According to a Secret Service affidavit, security video shows Tran climbing a fence late Friday night and making his way to the White House’s South Portico entrance. According to the affidavit, Tran told the Secret Service he’s a friend of President Donald Trump and had an appointment.

Trump praised the Secret Service response and referred to Tran as a “troubled person.”