A man allegedly set himself on fire inside a building housing offices for Google in Downtown Manhattan on Friday, said police.

The man, believed to be in his 60s, walked into the building in Hudson Square and set himself on fire just before 3 p.m., said law enforcement. Medics rushed the man to a local hospital, where he is in stable condition.

There were no other reported injuries. The NYPD set up a crime scene extending outside the building's front door.

• Trump threatens to rename Lake Ontario to Lake America as US-Canada trade war escalates

• Canadian official tells Trump to 'kiss my a--' amid ongoing tariff dispute

A signed backpack was seen lying just off the curb. Investigators are working to determine the man's motive. The building, in which Google is the largest tenant, is part of Google's larger Hudson Square campus.

It also includes a much bigger building at 550 Washington Street. Google also has another major hub in Chelsea.

It comes as o large data centers can be built in New York for up to a year as the state creates rules to protect the environment and its energy grid from the power-hungry facilities fueling artificial intelligence.

Gov. Kathy Hochul signed an executive order Tuesday imposing the country’s first statewide moratorium on hyperscale data centers, which house thousands of computer servers and require massive amounts of energy and a steady supply of water to keep cool.

The move pushes the state into a raging debate over how to regulate the AI industry, as concerns over rising electric bills and environmental risks collide with a desire to stimulate local economies and foster the U.S. tech sector.

“The bottom line is that progress shouldn’t arrive with a higher utility bill, deleted water supply or noise pollution, so we have no choice but to address these challenges created by these massive facilities,” Hochul said at a celebratory signing ceremony in Brooklyn.

President Donald Trump has warned states not to slap regulations on the AI industry, echoing tech companies in arguing such moves hamper job growth and cede ground to China in a race to lead in the rapidly growing field.

Earlier this year, Maine seemed poised to establish a similar moratorium. But the measure was vetoed by Democratic Gov. Janet Mills because it would have blocked a proposed data center in a town that has struggled after a mill closed.