Alhaggagi, of Oakland, has been in federal custody since November, when he was he arrested on unrelated identity theft charges. Federal authorities unsealed the indictment detailing the latest charges — attempting to provide services and personnel to a designated foreign terrorist organization — on Friday.
In a statement to NBC News, Alhaggagi's attorney, Mary McNamara, said he was not anti-American and did not support ISIS.
"He is completely nonviolent, and he took no actions to harm anyone," she said. "The evidence we have suggests these charges are based on internet chat conversations that he had with a number of unknown people."
McNamara described Alhaggagi as a "very young and naïve man" who appeared to have "allowed himself to be drawn into conversations that he should have been far more suspicious of."
US led airstrikes on ISIS targets
US led airstrikes on ISIS targets
Smoke rises after an U.S.-led air strike in the Syrian town of Kobani Ocotber 8, 2014. U.S.-led air strikes on Wednesday pushed Islamic State fighters back to the edges of the Syrian Kurdish border town of Kobani, which they had appeared set to seize after a three-week assault, local officials said. The town has become the focus of international attention since the Islamists' advance drove 180,000 of the area's mostly Kurdish inhabitants to flee into adjoining Turkey, which has infuriated its own restive Kurdish minority-- and its NATO partners in Washington -- by refusing to intervene. REUTERS/Umit Bektas (SYRIA - Tags: POLITICS CONFLICT TPX IMAGES OF THE DAY)
Pictures showing an ISIL Command and Control Center in Syria before (L) and after it was struck by bombs dropped by a U.S. F-22 fighter jet are seen in handouts released by the U.S. Department of Defense (DOD) September 23, 2014. This was the first time the F22 was used in a combat role according to the DOD. The United States and its Arab allies bombed Syria for the first time on Tuesday, killing scores of Islamic State fighters and members of a separate al Qaeda-linked group, opening a new front against militants by joining Syria's three-year-old civil war. REUTERS/US Department of Defense/Handout (UNITED STATES - Tags: MILITARY CONFLICT) THIS IMAGE HAS BEEN SUPPLIED BY A THIRD PARTY. IT IS DISTRIBUTED, EXACTLY AS RECEIVED BY REUTERS, AS A SERVICE TO CLIENTS. FOR EDITORIAL USE ONLY. NOT FOR SALE FOR MARKETING OR ADVERTISING CAMPAIGNS
In this photograph taken on April 11, 2017, smoke rises after an air strike by US aircraft on positions during an ongoing an operation against Islamic State (IS) militants in the Achin district of Afghanistan's Nangarhar province.
An American special forces soldier has been killed while conducting operations against the Islamic State group in Afghanistan, the US military said.ï¿½The US-backed Afghan military has vowed to wipe out the group in its strongholds in the eastern province of Nangarhar as IS challenges the more powerful Taliban on its own turf. / AFP PHOTO / NOORULLAH SHIRZADA (Photo credit should read NOORULLAH SHIRZADA/AFP/Getty Images)
A still image captured from U.S. Navy video footage shows a Tomahawk Land-Attack Missile (TLAM) is launched against ISIL targets from the guided-missile cruiser USS Philippine Sea in the Gulf, September 23, 2014. The United States and Arab allies hit Islamic State (IS) targets including training camps, headquarters and weapon supplies in northern and eastern Syria in dozens of air and missile strikes on Tuesday, the U.S. military and a monitoring group said. REUTERS/Abe McNatt/U.S. Navy/Handout (MID-SEA - Tags: MILITARY CIVIL UNREST POLITICS) FOR EDITORIAL USE ONLY. NOT FOR SALE FOR MARKETING OR ADVERTISING CAMPAIGNS. THIS IMAGE HAS BEEN SUPPLIED BY A THIRD PARTY. IT IS DISTRIBUTED, EXACTLY AS RECEIVED BY REUTERS, AS A SERVICE TO CLIENTS
Smoke rises after an air strike on Islamic State (IS) militants positions during an ongoing operation against the group in the Achin district of Afghanistan's Nangarhar province on April 14, 2017, a day after the US military struck the district with its largest non-nuclear bomb.
The US military's largest non-nuclear bomb killed dozens of Islamic State militants as it smashed their mountain hideouts, Afghan officials said April 14, ruling out any civilian casualties despite the weapon's destructive capacity. The GBU-43/B Massive Ordnance Air Blast bomb -- dubbed the 'Mother Of All Bombs' -- hit IS positions in Achin district in eastern Nangarhar province on April 13.
/ AFP PHOTO / NOORULLAH SHIRZADA (Photo credit should read NOORULLAH SHIRZADA/AFP/Getty Images)
MOSUL, IRAQ - NOVEMBER 7: Smoke rises from Daesh terrorists positions after U.S.-led coalition's airstrike over east of Bashiqa town in Mosul, Iraq on November 7, 2016. Iraqi Kurdish Regional Government's peshmerga forces entered Bashiqa Town center as the operation to retake Iraq's Mosul from Daesh terrorists continues, in Mosul. A much anticipated Mosul offensive to liberate the city from Daesh began midnight of 16th of October 2016. (Photo by Hemn Baban/Anadolu Agency/Getty Images)
Photo taken on 30 January 2017 in Mosul, Iraq. Destroyed hospital. Saalam hospital was targeted by a U.S. Coalition airstrike in December, 2016 as it was a base for Islamic State commanders. 16th Division command and control the east side of the city. The soldiers are engaged in the search for militants ISIS. The army protects the eastern bank of the Tigris. Soldiers take up positions on the roofs of buildings of which observe areas next to the river. (Photo by Maciej Moskwa/NurPhoto via Getty Images)
MOSUL, IRAQ - NOVEMBER 7: Smoke rises from Daesh terrorists positions after U.S.-led coalition's airstrike over east of Bashiqa town in Mosul, Iraq on November 7, 2016. Iraqi Kurdish Regional Government's peshmerga forces entered Bashiqa Town center as the operation to retake Iraq's Mosul from Daesh terrorists continues, in Mosul. A much anticipated Mosul offensive to liberate the city from Daesh began midnight of 16th of October 2016.
(Photo by Yunus Keles/Anadolu Agency/Getty Images)
Members of Iraq's elite counter-terrorism service patrol as smoke billows in the background following a reported air strike by the US-led coalition on December 29, 2015 on the outskirts of Ramadi, the capital of Iraq's Anbar province, about 110 kilometers west of Baghdad, after Iraqi forces recaptured it from the Islamic State (IS) jihadist group. Iraq declared the city of Ramadi liberated from the Islamic State group Monday and raised the national flag over its government complex after clinching a landmark victory against the jihadists. AFP PHOTO / AHMAD AL-RUBAYE / AFP / AHMAD AL-RUBAYE (Photo credit should read AHMAD AL-RUBAYE/AFP/Getty Images)
ALEPPO, SYRIA - DECEMBER 03: Smoke rises after the US-led coalition airstrikes' hits DAESH positions at Brekida village in Aleppo, Syria on December 03, 2015. (Photo by Huseyin Nasir/Anadolu Agency/Getty Images)
Kurdish Peshmerga soldiers on November 14, 2015 in Sinjar, Iraq. Kurdish forces, with the aid of months of U.S.-led coalition airstrikes, liberated the town from ISIL extremists, known in Arabic as Daesh, in recent days. Although the battle was deemed a major victory, much of the city lay in complete ruins. (Photo by Andrea DiCenzo/NurPhoto) (Photo by Andrea DiCenzo/NurPhoto/NurPhoto via Getty Images)
Discover More Like This
BACK TO SLIDE
McNamara said Alhaggagi is an American — he was raised in the Bay Area by Yemeni parents — and was unemployed at the time the conversations took place.
He is "well liked, sociable — not an isolated, weird person," she said. "He is not radicalized."