A supporter of the Islamic State was planning to attack a restaurant in Rochester in the United States' New York on New Year's Eve, but was arrested on Wednesday. 

Emanuel Lutchman, 25, a local from Rochester, was planning to attack diners at an upstate restaurant with knives and a machete 'in the name of Isis', the US Justice Department said on Thursday, according to Reuters. 

Lutchman is a self-professed Muslim convert and was said to have a history of mental issues. He claimed to have been in touch with an Isis militant in Syria and had voiced support for the terror group. 

He was asked to 'prove himself' to the Islamic State by killing Americans, according to his criminal complaint, CNN reported. 

The FBI reportedly seized a video showing Lutchman swearing allegiance to Isis leader Abu Bakr al-Baghdadi. 

Lutchman was charged with attempting to provide material support to the Islamic State and faces a punishment of 20 years in prison and a $250,000 fine.

Rochester city cancelled New Year's Eve fireworks on Thursday night. 

New Year's Eve celebrations were held amidst tight security at Times Square on Thursday night.

US President Barack Obama had been briefed earlier about terror threats during New Year holidays in New York, Washington and Los Angeles. 

In several other cities across the world, security was heightened following terror threats. 

The German police warned citizens in Munich that Isis suicide bombers were planning to attack major train stations in the city on new Year's Eve.