NASHUA, N.H. (AP) — Firefighters in New Hampshire have rescued two people trapped in a windowless bathroom during a house fire.

Firefighters in Nashua say they stayed in phone contact with the residents on Tuesday night. Several companies worked together to find the man and woman inside.

READ MORE: I-Team: High School Failure Rates In Massachusetts Jumped During Pandemic

Both were treated by an ambulance crew and taken to a hospital, where they were listed in satisfactory condition.

Firefighters said the bulk of the fire was extinguished within 40 minutes, but another hour was spent putting out multiple hot spots in many concealed spaces in the building’s framing.

About 10 people were displaced.

Firefighters have not determined the cause of the fire yet.

MORE NEWS: 'I Don't Want To Be A Vigilante': Mikayla Miller's Mother Demands Justice At Hopkinton Rally

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)