A Madrid railway station's cameras have captured the moments when a woman fainted and fell onto the rails, moments before a train was due to arrive.
Other people waved frantically at the train driver as an off-duty policeman jumped down and rescued the woman.
The driver stopped the train early, avoiding a tragedy.