North Brunswick's municipal building will receive an emergency power generator thanks to a $250,000 state grant.

During Hurricane Sandy in fall 2012, the town's current generator was only able to power the public safety operations in the building, and the administrative wing was in the dark and closed for several days, the town said.

“It is very important for all municipal services to continue, even in an emergency,” the town's emergency management coordinator, Mark Cafferty, said in a news release. “We will have that capability with a new generator.”

The grant comes from the state hazard mitigation program, which gives out $25 million to improve power reliability at important facilities in the state, the town said.