This morning, a group of commuters at Stirling station on Australia's Transperth line worked together to lift a train and free a man whose leg was trapped between a car and the platform.

The man falls into the gap at about 1:10 into the security video above, and the lifting begins at around 11:35. Transperth spokesman David Hynes detailed the incident to ABC News:

"He stood in the doorway and as he was sort of taking up his position there, one leg slipped outside the door, slipped outside the gap, and he was stuck," he said.

"We alerted the driver, made sure the train didn't move.

"Then our staff who were there at the time got the passengers, and there were lots of them, off the train, and organised them to sort of rock, tilt the train backwards away from the platform so they were able to get him out and rescue him."

Mr Hynes said the train was stationary when he slipped.

The passenger suffered only minor injuries, Perth Now reports, and boarded a later train to his destination. According to one onlooker, the man seemed embarrassed by the fall, but otherwise fine:

"He was walking so he was reasonably OK," [witness Nicolas Taylor] said.

"He seemed to be a bit sheepish, because right where he fell was the 'mind the gap' writing."