SACRAMENTO, Calif. – The FBI said Friday that it found a martyrdom letter and several guns in the home of a former Marine who may have been planning a Christmas Day attack on a popular San Francisco tourist destination.

Everitt Aaron Jameson, 26, a Modesto tow-truck driver, was charged Friday with attempting to provide material support to a foreign terrorist organization. It was not clear if he had an attorney.

Jameson told an undercover agent he believed to be associated with senior leadership of the Islamic State group that he wanted to conduct a violent attack on Pier 39 in San Francisco because it was heavily crowded, according to an FBI affidavit.

He told the undercover agent that Christmas Day would be “the perfect day to commit the attack” and that he “did not need an escape plan because he was ready to die,” according to the affidavit.

Pier 39, packed with restaurants, bars and souvenir shops, is one of San Francisco’s most popular tourist spots. Home to the city’s aquarium, the pier offers free live music and street performances and offers a good spot to photograph sea lions that gather in the marina below.

An FBI spokeswoman said there is currently no specific or credible threat to the Bay Area.

Jameson previously posted radial jihadist messages online, including expressing support for the Halloween terror attack in New York City in which a driver used his truck to kill eight people, the FBI said. Jameson offered to use his tow truck to support the cause, the affidavit says.

WATCH: Foiled New York City terror plot was very real

The FBI began investigating in mid-September when it learned that Jameson was expressing support for posts that favoured terrorism or the Islamic State group. He “loved” an online post that showed Santa Claus threatening an attack in New York with a box of dynamite.

Agents raided his home Wednesday, finding a martyr’s letter signed with an Islamic variation of his name, along with his last will and testament updated in November. They also found fireworks, two rifles and a 9mm handgun.

During the search, Jameson “stated his support of ISIS and terrorism and discussed aspects of the plan to carry out an attack, noting that he would be happy if an attack was carried out,” the affidavit says.

WATCH: Christmas Day mass terror plot foiled in Melbourne

Jameson, who was set for an afternoon court appearance in federal court in Fresno, had attended Marine basic recruit training in 2009 and earned a sharpshooter rifle qualification.

He was discharged for failing to disclose a history of asthma, the affidavit said. He referred to his military service in comments to undercover agents.