A Santa Maria (Calif.) Police officer under investigation for sexual misconduct with a minor was shot and killed by fellow officers Saturday as they tried to arrest him, reports the San Luis Obispo Tribune.

The officer, who has been identified as Albert Covarrubias Jr. by family members, was on duty at a DUI checkpoint along Broadway shortly after 1 a.m. when he was shot, Chief Danny Macagni said.

Officers were sent to arrest him but he resisted when they arrived, first putting up a physical fight, then pulling and firing his gun but hitting no one, Macagni said.