LANCASTER, Pa. (AP) — A district attorney says two police officers did nothing wrong when they used a stun gun on a Pennsylvania man who shot himself in the head when electrically shocked.

Lancaster County District Attorney Craig Stedman says investigators couldn’t determine whether 66-year-old Richard Miller pulled the trigger on purpose or involuntarily due to the shock. But, either way, Stedman says Miller was responsible for his death.

READ MORE: Kensington Shooting Leaves 17-Year-Old Girl, Man Injured: Philadelphia Police

The Manor Township officers confronted Miller on Jan. 5 after a neighbor reported a man tampering with a pickup truck. The caller told police Miller pulled a handgun when confronted and took refuge in an apartment building, where police encountered him.

READ MORE: UK Prime Minister Boris Johnson To Resign After Mutiny In His Party

The DA says officers could have used deadly force to subdue Miller, and were trying to protect him and themselves by using the stun guns instead.

MORE NEWS: Man Shot At Least 6 Times In North Philadelphia, Police Say

(© Copyright 2015 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)