PRESCOTT, Ariz. (AP) — Movie producers have released the trailer for an upcoming movie chronicling 19 Arizona firefighters who died while battling one of the state's most devastating wildfires

The movie titled "Only the Brave " is based on the Granite Mountain Hotshots who died after fighting their last wildfire near Yarnell, Arizona on June 30, 2013. It stars Jennifer Connelly, Josh Brolin, Jeff Bridges and Miles Teller.

The movie's scenes were filmed in numerous New Mexico cities including Santa Fe. Downtown Prescott is also shown as a location in the trailer.

Film credits show that surviving Hotshot member Brendan McDonough worked as a creative consultant.

The film will be released Oct. 20.