The officer, Justin Lee, joined the force a year after the attack. He had been on leave since July because of an unrelated case in which he fatally shot an armed man.
Prosecutors said that the protester, Manuel Esteban Paez Terán, posed an “immediate threat” to state troopers who were trying to clear activists from a forest where a police training center was being built.