Updated

A northern California man who jumped the White House fence was released by a federal judge Monday pending further court proceedings.

Jonathan Tuan Tran, 26, will be required to stay within 100 miles of his hometown of Milpitas, Calif., except while traveling to court in Washington. He must wear a GPS monitor, stay away from the White House and undergo a mental health evaluation.

Tran was approached by a Secret Service officer on the south grounds of the White House late Friday and asked if he had a pass to be in the restricted area. According to a police report, Tran answered, "No, I am a friend of the president. I have an appointment" and added that he had "jumped the fence."

Tran is charged with entering restricted grounds while carrying a dangerous weapon, which carries a maximum sentence of 10 years and a $250,000 fine. Prosecutors say Tran was carrying two cans of Mace when arrested.

In court Monday, Tran answered a series of "yes" or "no" questions in a soft voice and was told twice by the clerk to speak up. He was also assigned a public defender.

Tran's next court appearance is scheduled for April 13.

Fox News' Matthew Dean and the Associated Press contributed to this report.