Image courtesy of Apache.

A contractor working at an Apache-operated drilling site in Texas was killed September 26 while digging a ditch around an oil rig for spill control.

Cody Elston, 42, was working in Crawford Ranch near Amarillo, Texas as a contractor with Oklahoma-based Redneck Services.

The Potter County Sheriff Department received a call around 11:30 a.m. Friday reporting the accident.

Sheriff officials said Elston’s leg got caught in a ditch-digging machine, causing fatal injuries.

“It tore him up pretty bad,” Potter County Sheriff Brian Thomas said.

Emergency responders provided assistance but Elston died at the scene, Amarillo Globe News said.

No other workers were injured during the accident.

Houston-based Apache and The U.S. Occupational Safety and Health Administration are investigating.

“Apache regrets the loss of life and will investigate this incident. The safety of employees and contractors is Apache’s top priority,” Apache said.