A man who plotted to blow up a Key West, Fla., beach with men he thought belonged to the Islamic State was convicted on federal charges.

Harlem Suarez, 25, was found guilty Tuesday of attempting to use a weapon of mass destruction and providing material support to the Islamic State.

The other men involved in the July 27, 2015 scheme worked for the FBI.

According to evidence introduced at trial, Suarez told an FBI informant that he wanted to make a "timer bomb." Suarez then purchased galvanized nails for that purpose. He intended to bury the device in a backpack at a public beach in Key West and then detonate it with a cellphone. But it failed to go off.

Read more: UPI