A small drone crashed into the 40th floor of the Empire State Building Thursday night and then fell to a 35th floor landing, authorities said.

Police said a New Jersey man was flying the drone in an attempt to take pictures and apparently lost control of the aircraft.

Investigators said Sean Nivin Riddle was arrested at the scene and is expected to face criminal charges. He was being questioned by officers at the Midtown South police precinct.

Right after the crash, Riddle apparently wrote on his own Twitter feed: “filming w/ drone, now its stuck on the empire state building....w/security.”

The crash brought a significant police and FBI response to the landmark at Fifth Avenue and 34th Street as a precaution. Investigators said that they do not believe the crash was intentional.

No one was hurt.

Riddle did not immediately respond to requests from NBC 4 New York seeking comment.