PITTSFIELD — One person was flown to Boston with life-threatening injuries early Wednesday, after she was rescued by firefighters from a burning home on Hubbard Avenue.

Firefighters found the victim hiding in a first-floor bathroom, after conducting a by-the-book rescue, according to Pittsfield Fire Chief Thomas Sammons.

“We train on this every day,” he told The Eagle. “We had good command control at the scene and the firefighters showed good discipline.”

The rescued person, a female whose name was not released, suffered extreme smoke-inhalation injuries, according to a news release from the Pittsfield Fire Department. She was taken to Berkshire Medical Center for treatment and later flown to Massachusetts General Hospital.

The fire at 25 Hubbard Ave. was reported just before 1 a.m. While en route, firefighters learned that a person was trapped in the basement. By the time they arrived, three residents had evacuated, and they confirmed that their daughter was trapped in the basement, according to the release. Heavy smoke could be seen coming from the home.

“Her bedroom was in the basement, and there was a lot of fire in that one room,” Sammons said.

Firefighters searched the basement and first and second floors of the home “under extreme conditions,” but couldn’t find the victim. They found the “seat of the fire” and began extinguishing the blaze, the release stated.

Support our journalism. Subscribe today. →

Firefighters finally found the resident in a bathroom at the top of the stairs.

One firefighter cut their knee after kneeling on broken glass while searching the basement, Sammons said. They were taken to Berkshire Medical Center, where they received eight stitches.

Major fire, heat and smoke damage was reported in the basement. The first and second floor, as well as a connected garage, also had smoke damage. The Fire Department estimated the cost of the damage at more than $50,000.

The single-family home is owned by Patricio F. Quintero, according to the city assessor’s map.

The Pittsfield Fire Department and Massachusetts State Police Fire Investigations Units are investigating the cause, which has not been determined. The American Red Cross is assisting the displaced family with housing.

Several other departments responded, including Hinsdale, Lenox, Dalton and Lanesborough.