An 8-year-old girl died from injuries sustained in a house fire in New Bedford on Tuesday, officials confirmed Wednesday. Firefighters discovered the child on the second floor of a three-and-a-half-story building on Rivet Street after flames engulfed the property.

Emergency responders arrived at the scene shortly after 4:15 p.m. to find heavy smoke and fire emanating from the mixed-use commercial and residential structure. Contractors working in a first-floor business initially noticed alarms and attempted to intervene using fire extinguishers but were forced to withdraw due to intense heat and smoke, alongside responding police officers.

Firefighters conducted a search of the upper floors, where they located the girl hiding beneath clothing on a couch. She was immediately transported to St. Luke’s Hospital with severe injuries but later succumbed to those injuries, marking the first child fatality in a Massachusetts fire in more than 18 months.

Two families were displaced by the blaze and are receiving assistance from the Red Cross. No other occupants were reported injured, and the fire did not extend beyond the building. It took more than two hours for firefighters to fully contain the fire.

State authorities have launched an investigation into the cause and origin of the fire, which remains undetermined.

New Bedford Fire Chief Brian Medeiros expressed deep sorrow over the loss. “Every firefighter in New Bedford holds this child in their prayers today,” he said in a statement, describing the event as a tragic blow for the community and a hardship no family should face.

Nearby resident Cesar Garcia said his 8-year-old daughter, who attended school with the deceased child, was profoundly affected by the news. He recounted evacuating his own family upon hearing the alarms. “It was really a tragedy that happened,” he said.

State data show that 31 people have died in fires across Massachusetts so far this year, compared to 40 at the same point last year, according to Jake Wark, spokesperson for the state’s Department of Fire Services.

New Bedford Mayor Jon Mitchell extended condolences to the family and praised the emergency personnel. “As a parent, I can only imagine how painful this time must be for her family,” he said. “I want to extend my gratitude to the firefighters and EMTs who jumped into action to fight, contain, and extinguish the blaze.”