A federal grand jury has indicted two New York City residents for allegedly trying to provide support to ISIS, federal officials announced Tuesday.

Munther Omar Saleh, 21, of Queens, is charged with attempt and conspiracy to provide material support to Islamic State of Iraq and the Levant, in addition to assault and conspiracy to assault federal officers.

Federal officials said Saleh attempted to make a pressure cooker bomb to set off in New York City on behalf of ISIS.

He was arrested on June 13 after being under investigation by federal authorities, and during his arrest, charged at a federal officer while armed with knives.

The grand jury indictment also charged Fareed Mumuni, 20, of Staten Island, with attempt and conspiracy to provide material support to ISIS, assault and conspiracy to assault federal officers, and attempted murder of federal officers.

Mumuni was arrested on June 17 during an execution of a search warrant of his home, when he repeatedly stabbed an FBI agent in the torso with a kitchen knife, the indictment states.

“As alleged in the indictment, both Munther Omar Saleh and Fareed Mumuni demonstrated their support for ISIL by attacking the law enforcement officers,” said Kelly T. Currie, Acting United States Attorney for the Eastern District of New York, in a press release announcing the charges. “The arresting officers exercised extraordinary skill and remarkable restraint in subduing the defendants, who will now face the full force of justice in federal court.”

Both are scheduled to be arraigned on Aug. 20. If convicted, Mumuni faces up to 85 years in prison. Saleh faces a maximum sentence of 65 in prison if convicted.