Transcript for Cop rescues driver stuck on railroad tracks
Now to that stunning last-second save caught on camera. A state trooper swooping in to rescue a driver stuck on railroad tracks dragging the man to safety right before the train crashed into the vehicle. Will reeve is here now with more from the hero behind that heart-stopping video. Good morning. Footage from Ruben Correa's dash cam looks like impending disaster. The horn blaring, the driver unresponsive behind the wheel, the officer rushing to help with no time to lose. Get out of here. We've got a train coming. Reporter: This morning this Utah trooper saving an unconscious driver with just seconds to spare. His car stopped on the tracks with the train barreling straight ahead. I actually wasn't really thinking, I was just doing my job and the main concern was getting him out and -- out of the vehicle and back to his family. Reporter: In the predawn darkness highway patrol trooper Ruben Correa alerted to a possible car on the tracks. Using a spotlight to locate the red SUV up an embankment with a train in the distance. It shows him running up the hill pulling the driver to safety before running out of time. He wasn't responding. And I heard the horn from a We've got a train coming. Reporter: Correa yelling warning the driver of the danger. The train blasting its horn smashing into the car sending it flying as Correa hurls them out of harm's way. The train grinding to a halt. The car ending up a mess of mangled metal. Riley Nelson was operating that train. Yanking on its emergency brakes when he saw the car dropping the speed by nearly 50 miles an hour buying a few invaluable seconds. Had I been going the full 80 miles an hour if I hit the brake, even a few seconds later this would have had a very different outcome for sure. Reporter: Neither Correa or the driver injured thanks to quick thinking and heroic action by the cop in the right place at the right time. Utah highway patrol says the unidentified driver is safe and with his family. He reportedly had an unknown medical condition prior to the officer Correa says it was a much closer call than I would have liked. Perfect time to be there to help save that man's life. Just like that. All right, thank you so much, will.
This transcript has been automatically generated and may not be 100% accurate.