Girl narrowly escapes oncoming train

Viral video captures frightening moment in Brazil

BRAZIL - A viral video posted to YouTube shows the frightening moment when two men pull a little girl from train tracks mere milliseconds before a train hits her.

The girl dropped her phone on the tracks and jumped down to retrieve it. However, at the same time, a train was barreling down the tracks toward the girl.

[WATCH: Full video of near-miss]

Video captures two men -- believed to be a security guard and a passenger -- rushing to the edge of the tracks, grabbing the girl and yanking her back onto the platform just moments before the train would have hit the girl.

The girl breaks down and cries as other passengers rush over to see if she is ok.

Copyright 2013 by All rights reserved. This material may not be published, broadcast, rewritten or redistributed.