(CNN) -- A first-floor apartment in the Bronx building where 12 people died as fire swept through Thursday night had defective carbon monoxide and smoke detectors months ago, according to a city agency.
Authorities say the fire started on the first floor, but it's unclear whether it was in the apartment with the faulty detectors. Reports of the defective smoke and carbon monoxide detectors remain open, and it's unclear whether the devices had been replaced.
Mayor Bill de Blasio told CNN the apartment building is believed to be more than a 100 years old. De Blasio calls the deadly fire that broke there the "worst fire tragedy in this city in at least a quarter century."
The victims, ranging in age from 1 to 63, died on various floors as smoke and flames tore through the 29-unit apartment building.
At least four of the victims were children. Three were under the age of 10.
Details about the deadly fire -- including the cause -- remain unclear. Here's what we know:
• A 1-year-old, a 2-year-old and a 7-year-old are among those killed, according to the NYPD. The age of the fourth child has not been released.
• Seven civilians and seven firefighters were injured in the fire, FDNY spokesperson said. Four injured civilians are in critical condition.
• According to the New York City Housing Preservation and Development online records, there is at least one still-open violation reported in August of this year for the building, indicating there was a defective carbon monoxide detector in a first-floor apartment, and one open violation indicating a defective smoke detector in the same apartment.
• Four people were critically injured and others were hurt, the mayor said. He added that it's possible that "we may lose others as well.
• "This will rank as one of the worst losses of life to a fire in many, many years," de Blasio said in a Thursday press conference.
Somber scene on frigid morning
Fire vehicles surrounded the charred apartment building Friday morning. Lights from fire engines reflected on Christmas decorations that still hang around the neighborhood. An American flag floated in the frigid air at a school across the street from the building.
The fire started on the first floor and spread quickly, said the city's fire commissioner, Daniel Nigro. The victims died on various floors of the apartment building.
The first call about the fire came at 6:51 p.m. ET and the New York City Fire Department (FDNY) responded within three minutes, Nigro said.
"This tragedy is, without question, historic in its magnitude," he said. "Our hearts go out to every family who lost a loved one here and everyone fighting for their lives."
Shocked residents and family members stood outside the building in frigid temperatures, waiting for news. A local school was opened to shelter those who were displaced by the fire.
A woman, who declined to share her full name with CNN affiliate WPIX, stood anxiously on the street as firefighters wheeled victims out. She said the last text she had gotten from her mother, who lives in the building, was that she was trapped in her third floor apartment.
The walk-up building contained 29 units, according to public property records. CNN attempted to reach the listed property owner several times.
Since 2004, the city received four complaints about the building, which didn't appear to be fire-related. The latest complaint entered Thursday was from the FDNY requesting a structural stability inspection after the deadly, five-alarm fire.
At least 12 people were rescued and are expected to survive, the mayor said. By the time the officials spoke around 10 p.m. ET, the fire had been put out and the building was being searched.
"We are closely monitoring the devastating fire in the Bronx. As always we are thankful for our first responders. Our thoughts are with the victims and their families tonight," New York Governor Andrew Cuomo tweeted.