Investigators say 54-year-old Asif Raja set the fire in several locations inside his restaurant, but the sprinkler system knocked the flames down.
It happened back in August at the business on Steinway Street in Astoria.
Only after an ongoing investigation did FDNY fire marshals, working with NYPD and ATF as part of a task force, identify it as an arson.
MORE: Long Beach restaurant hit with citations for ignoring COVID rules
The crime was captured by surveillance video.
Raja has been charged with one count of arson, which carries a mandatory minimum sentence of five years in federal prison with a maximum sentence of 20 years if convicted.
"We are extremely grateful that no one was injured during this incident and for the collaboration between all the law enforcement agencies involved in bringing this individual to justice," said Fire Commissioner Daniel A. Nigro in a statement.
Raja will be prosecuted by the U.S. Attorney's office in Brooklyn.
MORE: 167 cited after Super-Spreader Task Force breaks up underground party