Ferndale police told WJAC-TV ( http://bit.ly/VeDaVW) that the man was walking along the sidewalk in the Cambria County borough Friday as the train approached on its way from Johnstown to Ferndale.
The engineer told officials that he blew the horn several times to alert the man, who police said was wearing a hoodie and talking on a phone.
Police said the man then walked into the train and was dragged the length of two locomotives.
Police said the unnamed victim was conscious as paramedics took him from the scene.
Police are still investigating the accident.