Flames and smoke poured out of a Salem, New Hampshire restaurant Wednesday morning as a fast-moving blaze consumed the building.

The fire broke out at the China Star restaurant, located at 80 Main St., around 5:30 a.m.

As firefighters battled the flames, officials issued a mayday call as conditions deteriorated rapidly. They escaped the building before it collapsed.

Officials believe 17 people living in the apartments connected to the restaurant made it out safely on their own.

Two firefighters who got injured were transported to Holy Family Hospital in Methuen for precautionary reasons, Fire Chief Paul Parisi said.

Police are asking commuters to avoid the area as crews work to contain the flames.

This is a developing story; stay with 7News on air and online for the latest updates.

(Copyright (c) 2022 Sunbeam Television. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)

Join our Newsletter for the latest news right to your inbox