SAN BERNARDINO, Calif. β€” A firefighter died battling a California wildfire that officials said was sparked by a device used to reveal a baby's gender.

The death happened Thursday in the San Bernardino National Forest as crews battled the El Dorado Fire, the U.S. Forest Service said in a statement.

The fire erupted earlier this month from a smoke-generating pyrotechnic device used by a couple to reveal their baby's gender, the California Department of Forestry and Fire Protection, or Cal Fire, said.

A firefighter puts out a hot spot along a highway northwest of Forrest Falls, Calif., while battling the El Dorado Fire, which was started by a device at a gender reveal party.

The name of the firefighter was being withheld until family members are notified. The cause of the death was under investigation.

No other information was released about the firefighter, the agency the firefighter worked for or the circumstances of the firefighter's death.

California's Department of Forestry and Fire Protection said earlier this month that the fire was ignited Sept. 5 when a couple, their young children and someone there to record video staged the baby gender reveal at El Dorado Ranch Park at the foot of the San Bernardino Mountains.

The device was set off in a field and quickly ignited dry grass. The couple frantically tried to use bottled water to extinguish the flames and called 911.

Authorities have not released the identities of the couple, who could face criminal charges and be held liable for the cost of fighting the fire.

Photos: California fires blamed for at least 25 deaths

More than 17,000 firefighters are battling more than two dozen major wildfires in California. See photos of the blazes and their effect below.


Become a #ThisIsTucson member! Your contribution helps our team bring you stories that keep you connected to the community. Become a member today.