People power has been used to free a man who became trapped between the platform and a train at a Perth station on Wednesday morning.
Scores of passengers, together with staff at Stirling station, managed to tilt the carriage so the man could free his leg which was wedged in the gap.
The man was boarding a Perth-bound train at about 8:50am when he slipped and became stuck.
Transperth spokesman David Hynes said the man was boarding at the tail end of peak hour, but the train was still fairly busy.
"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.
An ambulance was called but the man was not taken to hospital. It is believed he did not sustain serious injuries.
Mr Hynes said it was not a problem caused by overcrowding.
He praised the actions of staff and passengers who assisted in freeing the man.
"Everyone sort of pitched in," he said.
"It was people power that saved someone from possibly quite serious injury."