Prosecutors say a second man has been charged in the investigation involving a New York City college student accused of plotting with the Islamic State terror group.

Freed Mumuni of Staten Island appeared Wednesday in federal court in Brooklyn.

He's accused of trying to stab an FBI agent during a search related to the investigation. Authorities identified him as an Islamic State sympathizer. His lawyer had no immediate comment.

On Tuesday, authorities announced the arrest of college student Munther Omar Saleh.

Court papers called the 20-year-old Saleh a "fervent supporter" of the Islamic State who wanted to attack New York. It says he searched the Internet for information about pressure-cooker bombs, city landmarks and tourist attractions.

There was no immediate response to a message left Wednesday with Saleh's attorney.