Video footage has captured the moment a sheriff's deputy dragged a driver to safety moments before his car was hit by a train on a crossing.
Authorities said that a car had crashed through the crossing arm in Sunnyvale, California, at around 6.30pm on Monday.
Two deputies were patrolling and spotted the vehicle on the Caltrain tracks. One of the men pulled the male driver from the car seconds before it was struck.
Detective Salvador Zuno, of the San Mateo County Sheriff's Department, told CBS News: "These deputies did not hesitate, they acted.
"Had they not acted, who knows what would have happened, I believe because of their actions, this person is alive today."
Det Zuno said the man appeared to be drunk. He has not been identified, but police said he was in his 20s and suffered minor injuries.