Send this page to someone via email

At least 21 people were killed and 71 were injured on Friday when a pipeline ruptured by suspected fuel thieves exploded in central Mexico as dozens of people tried to fill up containers, state and federal authorities said.

Mexican television footage showed flames leaping into the night sky in the municipality of Tlahuelilpan, in Hidalgo state north of Mexico City, as people screamed and cried for help.

Hidalgo’s governor Omar Fayad told Mexican television that emergency services had registered the charred bodies of 21 people, and that at least 71 others had been injured.

Fayad said the number of victims could still rise depending on what emergency services discovered where the blaze had been hottest, which had been difficult to access.

Story continues below advertisement

WATCH: Video shows geyser of fuel spouting dozens of feet into the air in Mexico’s Hidalgo state

1:27 Video shows geyser of fuel spouting dozens of feet into the air in Mexico’s Hidalgo state Video shows geyser of fuel spouting dozens of feet into the air in Mexico’s Hidalgo state

Shortly before midnight, Public Security Minister Alfonso Durazo said the fire had been put out, and that the government would need time to establish the final death toll.

Images published on broadcaster Televisa showed people with severe burns from the blast as the government sent in ambulances and doctors to treat the victims.

Mexican President Andres Manuel Lopez Obrador has launched a major crackdown on rampant fuel theft, which the government said cost the country more than $3 billion last year.

WATCH: Multiple people killed in Mexico fuel pipeline blast

1:05 Multiple people killed in Mexico fuel pipeline blast Multiple people killed in Mexico fuel pipeline blast

The explosion was one of the worst in recent history in a country that has suffered hundreds of illegal ruptures to its network of oil and gas pipelines.

Story continues below advertisement

“I urge the entire population not to be complicit in fuel theft,” Fayad said on Twitter. “Apart from being illegal, it puts your life and those of your families at risk.”

The ruptured pipeline was near the Tula refinery of state oil firm Petroleos Mexicanos (Pemex), which in a statement blamed the incident on an illegal tap.

Separate television footage showed the pipeline gushing a fountain of fuel earlier in the day and dozens of people at the site trying to fill buckets and plastic containers.

Lopez Obrador expressed his concern on Twitter, and said he wanted “the entire government” to help people at the scene.

WATCH: Ambulances transport wounded in Mexico’s Hidalgo state after pipeline explosion

2:10 Ambulances transport wounded in Mexico’s Hidalgo state after pipeline explosion Ambulances transport wounded in Mexico’s Hidalgo state after pipeline explosion

Separately, Pemex said on Friday evening it was also dealing with a separate pipeline rupture by suspected fuel thieves in San Juan del Rio in the neighboring state of Queretaro. There was no danger to the population, the firm added.

Story continues below advertisement

People react at the scene where a ruptured fuel pipeline exploded, in the municipality of Tlahuelilpan, Hidalgo, Mexico, near the Tula refinery of state oil firm Petroleos Mexicanos (Pemex), January 18, 2019 in this still image taken from a video obtained from social media. .Veronica Monroy/Diario Plaza Juarez/via REUTERS

The president’s crackdown on theft has significant public backing, though his decision to turn off pipelines to thwart the thieves disrupted fuel supply in central Mexico and raised concern that the shortages could damage the economy.

Some users of social media responded to the explosion with anger, saying the fuel thieves only had themselves to blame.