Harpursville, NY (WBNG Binghamton) A man working for Canadian Pacific Railway came in contact with a power line and was electrocuted.

New York State Police said Thomas F. Tarchak, 39, of Simpson, Pa., was among a group of four workers inspecting a steel railroad bridge running over Route 235 in Harpursville.

Troopers said just after 11 a.m. Monday, the man was in an inspection bucket and in contact with the bridge when the lift came in contact with an electrical power line carrying 4,800 volts.

The lift truck was still energized when emergency responders arrived at the scene. NYSEG had to cut power before the man's body could be recovered.

State Trooper Chris Skinner said he believes the victim was killed instantly, but there will be an autopsy performed at Wilson Hospital to confirm.

Route 235 between Route 7 and Davey Road was also shut down during the response to the accident.