A Charleston, West Virginia, police officer fatally shot a man suspected of trespassing on Wednesday after police said the man became violent.

Officers were investigating a trespassing complaint at around 1 p.m. when they encountered William E. Henry Jr., according to a statement from Charleston Police Chief James "Tyke" Hunt.

Henry, 43, armed himself with a pipe and advanced on an officer, according to Hunt. Henry then "fought through a taser deployment" and struck the officer in the head with the pipe, according to police.

WEST VIRGINIA SECRETARY OF STATE MAC WARNER ANNOUNCES HIS RUN FOR GOVERNOR

WVa Police say officer shot man who attacked him with pipe

A West Virginia police officer shot and killed a man suspected of trespassing. The man became violent when officer began questioning him. He died Wednesday at the hospital. 

CLICK HERE TO GET THE FOX NEWS APP

The officer then shot Henry. Officers at the scene rendered first aid but Henry was pronounced dead at the hospital, according to Hunt.

The Charleston Police Department will submit its findings to the Kanawha County Prosecutor’s Office for review. The officer who shot Henry will be placed on leave pending the prosecutor's preliminary findings. Hunt did not identify the officer.