NORTHBRIDGE (CBS) — Police credit an “alert engineer” for potentially avoiding a deadly incident on the train tracks in Northbridge Monday morning. A 25-year-old man appeared to be sleeping on the railroad tracks in town near the Elston Avenue crossing.

Police said the engineer activated the train’s signal and hit the brakes upon seeing the man laying on the tracks.

READ MORE: Price Chopper Recalls Coleslaw, Stuffed Seafood Items

“The train whistle alerted the subject so that he was able to move from the direct path of the train, however the train did strike the subject causing serious injury,” police said.

READ MORE: Massachusetts Companies Starting To Announce Vaccination Requirements For Employees

The man was speaking to paramedics while in the ambulance, police said. He was taken to UMass Memorial Hospital.

MORE NEWS: Worcester Father Carlos Betancourt Accused Of Swinging Knife, Then Baseball Bat At Teen Lifeguards