(NASHVILLE, Ky.) — A 34-year-old man accused of shooting an off-duty officer late Thursday in Kentucky is dead after a police-involved shooting, authorities said.

The officer who was killed in the line of duty had been driving his personal vehicle when the suspect pulled him over a little after 5 p.m. while impersonating a cop, the Hopkinsville Police Department said in a statement.