The officer was hailed as a hero after shooting an assailant in 2015.