Updated

The explosion that ripped through Mexico’s best-known fireworks market in the outskirts of Mexico City has killed at least 31 people and left dozens more badly burned.

Mexico State chief prosecutor Alejandro Gomez said Wednesday the death toll rose to 31 after several people died at local hospitals. He said some of the dead were so badly burned that neither their age no their gender could be immediately determined.

The toll is expected to rise because 11 people were listed as missing and some body parts were found at the scene, Gomez added.

A list of nine bodies identified so far showed one of the dead included a 3-month-old baby boy and a 12-year-old girl. Gomez said a total of seven male minors were among the dead.

State Health Secretary Cesar Nomar Gomez Monge said 72 people were being treated for injuries including severe burns, in some cases over 90 percent of their bodies.

Mexico Blast AP

This image made from video shows an explosion ripping through the San Pablito fireworks' market in Tultepec, Mexico, Tuesday, Dec. 20, 2016. (Jose Luis Tolentino via AP)

The powerful chain-reaction explosion ripped through the stalls at the San Pablito fireworks market, which officials said was especially well stocked for the holidays.

It’s the third such blast to ravage the market since 2005 sent up a towering plume of some that was lit up by a staccato of bands and flashes of light. Once the smoke cleared, the open-air bazaar was reduced to a stark expanse of ash, rubble and the charred metal of fireworks stands, casting a pall over the country's Christmas season.

Survivor Crescencia Francisco Garcia said she was in the middle of the grid of stalls when the thunderous explosions began. She froze, reflexively looked up at the sky and then took off running through the smoke once she realized everyone was doing so. As she ran she saw people with burns and cuts, and lots of blood.

"Everything was catching fire. Everything was exploding," Francisco said. "The stones were flying, pieces of brick, everything was flying."

Mexico State Gov. Eruviel Avila vowed that "we are going to identify who is responsible."

Sirens wailed and a heavy scent of gunpowder lingered in the air well after the thunderous explosions at the market, which were widely seen in a dramatic video. The smoking, burned out shells of vehicles ringed the perimeter, and first responders and local residents wearing blue masks over their mouths combed through the ash and debris. Firefighters hosed down still-smoldering hotspots.

c62e54b0-mexico fireworks explosion

A Mexico State policeman looks through the scorched ground of the open-air San Pablito fireworks market, in Tultepec, outskirts of Mexico City, Mexico, Tuesday, Dec. 20, 2016. (AP Photo/Eduardo Verdugo)

Tultepec Mayor Armando Portuguez Fuentes said the market was especially well stocked because demand for noisy firecrackers and rockets soars this time of year.

"We are obviously in the high season," Portuguez said. "There was more product than usual because we are a few days away from Christmas, a few days away from New Year's, and those are the days when the products made here are consumed the most."

Cesar Ornelas of Atizapan de Zaragoza was only 10 minutes into shopping with his son and his father when he heard the first explosions. He tried to run, but something knocked him to the ground from behind. He tried several times to get up, unsuccessfully, and ultimately his 15-year-old son Francisco had to drag him out.

"We didn't look back," said Ornelas, who suffered light burns and a large bruise over his left kidney. His white tank top had a fist-size burn on the chest. "We heard how the explosion was kind of going off bit by bit."

Nearly four hours later, he and Francisco limped gingerly out of the market area. Francisco said paramedics told him his leg was likely fractured by flying debris. Ornelas said his 67-year-old father, Ernesto, had run in a different direction and sought refuge in a nearby home. All the father's clothing was burned, and his face and arm were bloodied. An ambulance had spirited him to a hospital, but Ornelas wasn't sure where it was or how serious his injuries were.

The Mexican Red Cross said it sent 10 ambulances with 50 paramedics to the scene.

National Civil Protection Coordinator Luis Felipe Puente told Milenio television that some nearby homes were also damaged. The scene remained dangerous and he asked people not to come within 3 miles to avoid hampering the emergency response.

"My condolences to the families of those who lost their lives in this accident and my wishes for a quick recovery for the injured," President Enrique Pena Nieto said via Twitter.

A similar fire engulfed the San Pablito Market in 2005, touching off a chain of explosions that leveled hundreds of stalls just ahead of Mexico's Independence Day. A year later a similar incident at the same market also destroyed hundreds of stands.

Portuguez, the Tultepec mayor, said the manufacture and sale of fireworks is a key part of the local economy. He added that it is regulated by law and under the "constant supervision" of the Defense Department, which oversees firearms and explosives.

"This is part of the activity of our town. It is what gives us identity," Portuguez said. "We know it is high-risk, we regret this greatly, but unfortunately many people's livelihoods depend on this activity."

The Associated Press contributed to this report.