Dozens of people rushed to help free a fellow commuter whose leg became trapped at a train station today in Perth, Australia.

Closed-circuit footage reveals the man lost his footing while boarding and his foot became trapped between the train and platform gap.

A passenger alerted railway staff, who stopped the train from leaving. Then, dozens leapt into action to tilt the train carriages to free the man, who was believed to have escaped injury and caught the next train.

Watch the amazing footage in the clip from America's Newsroom above.

More from Fox News Channel:

WATCH: Train Narrowly Misses Senator During Rail Safety Speech

Terrifying: SUV With Kids Inside Hit by Train

'A Million to One': Woman Survives Fall From Moving Freight Train

CLOSE CALL: CA Man Crosses Tracks Barely Ahead of Speeding Train