Oscar Ortega-Hernandez, accused White House shooter, in court Wednesday

Ortega-Hernandez is accused of trying to assassinate the president.

WASHINGTON (AP) - A federal judge has set a new court date to hear more evidence about the mental health of a man accused of firing shots at the White House in November.

Oscar Ramiro Ortega-Hernandez of Idaho appeared Wednesday in a federal court in Washington, where a judge set another hearing for Friday.

Ortega is accused of using an assault rifle to fire at the White House on the evening of Nov. 11, when President Barack Obama was out of town. He is charged with attempting to assassinate the president.

Acquaintances have said Ortega acted strangely in recent months, suggesting he believed he was Jesus and calling Obama "the devil." A preliminary psychiatric screening found him competent to stand trial, but federal prosecutors are asking for more extensive tests.

PHOTOS: Shooting at the White House

Ortega-Hernandez underwent several psychological evaluations in the lead up to Wednesday's preliminary hearting and has been deemed competent to stand trial.

Just before 11 p.m. on Veterans Day, a man, believed to be Ortega-Hernandez, fired several rounds at the White House. At least two rounds of ammunition were found on the grounds, including one which struck a window, but was stopped by ballistic glass.

Five days later, Ortega-Hernandez was located and arrested at a motel in Indiana, Pa.

President Obama was attending a college basketball game in San Diego, Calif. at the time of the shooting. Prosecutors say Ortega-Hernandez traveled 2,200 miles from Idaho to carry out the shooting.