A man arrested over a "suspected act of terrorism" in Boulder, Colorado, on Sunday has appeared in court to face 16 state counts of attempted murder, two counts of the use of incendiary device and 16 counts of attempted use of an incendiary device.
Suspect Mohamed Sabry Soliman has also been charged with a federal hate crime.
Officials say twelve people were injured after the man shouted "Free Palestine" and started "setting people on fire".
The FBI says the suspect plotted the attack for a year.
Soliman had overstayed his visa in the US and had filed an asylum claim in 2022.
US President Donald Trump has vowed to prosecute the attacker to the fullest extent of the law.