Everitt Aaron Jameson was arrested Friday in Modesto and charged with attempting to provide material support to a foreign terrorist organization, according to an announcement by U.S. Attorney Phillip Talbert.
Jameson is appearing in court Friday afternoon in Fresno before U.S. Magistrate Judge Barbara McAuliffe, a representative of the court confirmed.
VIDEO: Father of foiled SF terror attack suspect: 'Unreal, I really couldn't believe it'
The case began when a confidential FBI informant reported Jameson's Facebook account to the FBI as "suspicious" in September, according to the criminal complaint filed in U.S. District Court in the Eastern District of California by FBI Special Agent Christopher McKinney.
Jameson subsequently had several online interactions with a confidential source in which he allegedly expressed support for the Oct. 31 terrorist attack in New York City and allegedly offered his services for "the cause," according to the criminal complaint.
The suspect trained as a sharpshooter with the U.S. Marine Corps, though he did not formally serve, the complaint alleged.
RELATED: New ISIS video names targets in San Francisco, Las Vegas
Jameson allegedly met with an undercover agent who he thought was a leader of ISIS, according to the complaint. He offered to carry out violent acts and to provide financial support for the terrorist organization, the complaint alleged.
"Eventually, Jameson stated that we need something along the lines of New York or San Bernardino," McKinney alleged in the complaint. "... I am aware that Jameson's mention of 'San Bernardino' refers to a shooting-related terrorist attack undertaken in 2015; I believe the 'New York attacks' Jameson mentioned" refer to the terrorist attack in New York City, McKinney alleged.
"Jameson specifically named Pier 39 in San Francisco as a target location ... Jameson explained that he also desired to use explosives..." McKinney alleged.
RELATED: Guns, ammo, will and letter seized from home of Pier 39 Terror Plot suspect
"He (Jameson) also stated that Christmas was the perfect day to commit the attack," McKinney alleged.
After another FBI agent mistakenly called Jameson's cell phone Monday, Jameson said, "I also don't think I can do this after all. I've reconsidered," according to the complaint.
On Wednesday, a search warrant was executed at Jameson's Modesto residence, the complaint said. Items including a Winchester .22-caliber rifle and handguns were seized, along with ammunition and a Last Will and Testament for the suspect, according to the complaint.
COURT DOCUMENT: FBI criminal complaint for SF terror plot suspect
If convicted, Jameson faces a maximum statutory penalty of 20 years in prison and a $250,000 fine.
"Thanks to the diligent efforts of the FBI and local law enforcement agencies, a planned attack has been prevented from occurring in our city," Acting Mayor London Breed said in a statement. "At this time there are no known additional threats to San Francisco related to this investigation."
The San Francisco Police Department also issued a statement, saying, "We remain in contact with our local, state and federal partners as this case proceeds. As we have stated in previous weeks, during the holiday season the pubic will notice an increased law enforcement presence in shopping corridors and our City's attractions."
"The Department of Justice works resolutely every day to prevent terrorist attacks," Attorney General Jeff Sessions said in a statement.
"Today, our incredible law enforcement officers have once again helped thwart an alleged plot to kill Americans."
Click here for full coverage on recent terror attacks.
Towing company in Ceres where Suspect in San Francisco terror plot worked is preparing a statement pic.twitter.com/95DBYktDwP— Gene Haagenson (@GeneABC30) December 22, 2017
Just spoke w/suspect's estranged wife's grandfather who raised her, says she is prison and that the state took the couple's two kids (p.1) pic.twitter.com/OylnbD9FvV— Melanie Woodrow (@MelanieWoodrow) December 22, 2017
He wasn't sure what she was convicted on. Our ABC Fresno partners say suspect's dad told them something involving a knife (p.2)— Melanie Woodrow (@MelanieWoodrow) December 22, 2017
What agents recovered at suspect's home - letter, last will & testament, firearms and rounds pic.twitter.com/NbmcUgHDfW— Melanie Woodrow (@MelanieWoodrow) December 22, 2017
According to FBI documents: Jameson stated "Christmas was the perfect day". He also said "he did not need an escape plan because he was ready to die". @abc7newsbayarea— Jessica Castro (@JessicaABC7) December 22, 2017
MORE: Documents show suspect, Jameson, had prior military experience + had "sharpshooter" rifle qualification and expertise with rifle marksmanship. cc:@abc7newsbayarea— Jessica Castro (@JessicaABC7) December 22, 2017
Breaking: Criminal complaint shows agents stopped Modesto man from Xmas terror plot at pier 39. Documents say he was inspired by NYC truck attack & San Bernardino shooting. Complaint says he is a former Marine with 'sharpshooter' qualification. More: https://t.co/9yYmnyfQNe pic.twitter.com/ZQDMUsKiQs— Reggie Aqui (@reggieaqui) December 22, 2017