A raging wildfire in the US has killed 19 firefighters, including 18 members of an elite specialist team, trapped in the centre of the blaze.

Only two of the 20-person “hotshot” squad escaped the flames after a sudden wind storm stoked the blaze in an Arizona forest. Another firefighter died along with them.

The fire, started by lightning, had ballooned to cover 13 square miles and destroyed dozens of homes and sent hundreds fleeing from Yarnell, a town of 700 about 85 miles from Phoenix.

Residents huddled in area shelters and restaurants, watching their homes burn on TV as flames lit up the night sky in the forest above the town. It is unknown how the crew became trapped with no escape route as members attempted to save Yarnell from the fast-growing blaze. The team had spent recent weeks fighting fires in New Mexico and Prescott before being called to Yarnell, entering the smoky wilderness over the weekend with backpacks, chain saws and other heavy gear used to remove brush and trees.

“We grieve for the family. We grieve for the department,” fire chief Dan Fraijo said. “We’re devastated. We just lost 19 of the finest people you’ll ever meet.”

Hotshot crews go through specialised training and often are deployed soon after a fire breaks out. Sometimes they hike for miles into the wilderness to cut lines of protection between people and fires. They remove brush, trees and anything that might burn in the direction of homes and cities.

As a last-ditch effort at survival, members are trained to dig into the ground and cover themselves with a tent-like shelter made of fire-resistant material, Fraijo said.

The hope in that desperate situation is that the fire will burn over them and they will survive.

“It’s an extreme measure that’s taken under the absolute worst conditions,” Mr Fraijo said.

Nineteen fire shelters were deployed, and some of the firefighters were found inside them.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.