The victim, who was in his 30s, was flown to a local hospital and was in good condition Wednesday night.

MILTON — A man who was struck by a train Wednesday afternoon might have been trying to commit suicide, according to Santa Rosa County Sheriff's Office spokesman Rich Aloy.

The train's crew reported the accident at 1:33 p.m. on Old Spanish Trail, according to Santa Rosa County spokeswoman Sarah Whitfield. The train was stopped for several hours and railroad crossings at Elmira and Henry streets were blocked while authorities investigated the incident.    

The train had left the scene by 4:40 p.m., according to Pamela Holt, spokeswoman for the city Milton.   

The victim, who was in his 30s, was flown to a local hospital and was in good condition Wednesday night, Aloy said. The man was not identified.

The Sheriff’s Office continues to investigate the incident.