A Sydney man has survived a brush with death thanks to the actions of a Good Samaritan, who pulled him from the edge of a platform as a train barrelled into the station.
Video shows the lucky man exiting a train at Petersham station, before stumbling across the platform to lean over the tracks and vomit.
Hero Kieran Foley was waiting at the station when he heard the train's brakes squealing and the dramatic video shows him leaping into action and pulling the oblivious man, who had his headphones in, away from the edge with inches to spare.
Foley told 9 News: "I'm just grateful I was in the right place at the right time.