If convicted, Dockery faces a maximum sentence of 25 years-to-life in prison.

“The senseless act of setting that fire tragically led to the death of NYPD Officer Dennis Guerra. His partner Officer Rosa Rodriguez suffered critical injuries. Both dedicated and courageous officers did not hesitate to risk their lives to save others. We will bring the Defendant to justice for these terrible and horrific crimes,” said Brooklyn District Attorney Kenneth Thompson in a statement Friday evening.

Guerra, 38, a married father of four, succumbed to his injuries on Wednesday morning. His partner, Rodriguez, remain in critical condition but has a more optimistic prognosis.

His death broke a three-year streak during which no police officer had been killed in the line of duty.

The NYPD is now overhauling its fire response protocol, including basic fire training that could have saved Guerra’s life. Officers are being instructed to take the stairs when possible. If they must use the elevator, they’re being told to check open shafts for smoke and to stop at least two floors below the fire.