CARSON, Calif.–A BP worker died in an accident at the company’s Carson refinery today.

The man, a longtime employee whose name was being withheld, was working in an area where railcars are loaded with light refinery products when he was pinned by a piece of equipment just before 8 a.m., BP spokesman Walter Neil said.

Los Angeles County sheriff’ deputies and Cal/OSHA investigators will handle the accident investigation. The body will be turned over to coroner’s investigators for an autopsy, once the on-site investigation is done.