BAKER COUNTY, Oregon -- A Caldwell man wearing headphones and walking on the train tracks was killed Sunday when a train hit him.

The collision happened at about 5:44 p.m. in Baker County, about a half-mile from the Snake River.

According to the Baker County Sheriff's Office, 33-year-old Kristoffer McCreary was walking west on the tracks near where the Burnt River and the Snake River intersect.

The Union Pacific train was also headed west, and came up on McCreary from behind. Although the engineer sounded the train's horn and bell in an attempt to warn the pedestrian, McCreary did not appear to notice the train approaching, sheriff's officials say.

MORE: Push for safety changes after teen killed in train crash

The train was unable to stop in time, and hit McCreary. Union Pacific employees called 911, but McCreary did not survive.

Investigators say the victim was wearing earbud headphones when he was hit, which may have kept him from hearing the train approach. The collision remains under investigation.

It is illegal to walk or stand on train tracks, which are considered private property of the railroad. For more information, click here.