The man had made a series of threatening social media posts before attempting the attack, prosecutors said.

Joseph Neumayer, 28, was arrested at the New York airport on Sunday after allegedly plotting to bomb the US embassy in Israel.

A U.S. citizen was charged in the United States with attempting to firebomb the U.S. embassy in Israel earlier this month.

The man had made a series of threatening social media posts before attempting the attack, prosecutors said.