A 7-year-old girl died after she was pulled from a rowhouse fire in Northwest D.C. on Tuesday afternoon, D.C. Fire and EMS Chief John A. Donnelly Sr. said.

Firefighters and paramedics responded to the 700 block of Quebec Place NW around 3:10 p.m., arriving within five minutes, said Vito Maggiolo, a spokesman for D.C. Fire and EMS. The fire came from two windows on the second floor of a three-story house, Maggiolo said.

Firefighters began quickly fighting the fire and went inside to search for any victims. They found the young girl and removed her, fire officials said. The fire was brought under control within 10 minutes, a spokesman said.

The child was taken to a hospital, where she later died, fire officials said.

Officials said there were working smoke detectors and fire alarms in the home that helped others get out safely.

At least eight people were displaced from the home, Maggiolo said. It was not immediately clear how many people were in the home at the time of the blaze.

An investigation into how the fire started is underway, he said.