Everitt Jameson appeared in federal court in Fresno Thursday.
RELATED: ISIS video named targets in San Francisco, Las Vegas
The defense argued he should be released under heavy supervision because he backtracked on the attack while speaking with an FBI agent who posed as a member of ISIS.
RELATED: Guns, ammo, will and letter seized from home of Pier 39 Terror Plot suspect
But the judge decided to keep Jameson in custody, saying he's a danger to society.
His next court date is January 5th.
COURT DOCUMENT: FBI criminal complaint for SF terror plot suspect
On Friday San Francisco Mayor London Breed and law enforcement announced details about their New Year's Eve safety plan.
VIDEO: Father of foiled SF terror attack suspect: 'Unreal, I really couldn't believe it'
There will be much more security in response to the plot by Jameson.
Click here for full coverage on recent terror attacks.