A man whose family’s gender reveal photo shoot sparked a Southern California wildfire that killed a firefighter in 2020 has pleaded guilty to involuntary manslaughter, prosecutors said Friday.

The El Dorado Fire erupted on Sept. 5, 2020, when Refugio Jimenez Jr. and Angelina Jimenez and their young children staged a photo shoot for their baby gender reveal at El Dorado Ranch Park in Yucaipa, at the foot of the San Bernardino Mountains.

A smoke-generating pyrotechnic device was set off in a field and quickly ignited dry grass on a scorching day. The couple frantically tried to use bottled water to douse the flames and called 911, authorities said.