A passenger narrowly escaped being dragged under a moving train after a quick-thinking officer hauled him out of the gap beside the platform.
The man had been trying to climb aboard as the train was already pulling away when he lost his footing.
He slipped down into the narrow space between the carriages and the platform edge as the train kept rolling past.
READ MORE: Motorists scramble for cash after gas tanker crushes scooter carrying bag of money
CCTV footage shows a railway police officer sprinting over and dragging him clear in a matter of seconds, as reported by Need To Know.
The officer, Railway Protection Force (RPF) constable Vishnu, has since been praised by railway bosses for his fast reactions.
Southern Railway shared the clip on social media on Monday (30 November), where it has been viewed more than 15,000 times.
The rescue took place at Thiruvananthapuram North railway station in the state of Kerala, India.
In its post, Southern Railway wrote: “A split-second rescue at Thiruvananthapuram North.
“RPF Constable Shri Vishnu saved a passenger who fell into the platform gap while boarding a moving train.”
The rail operator added: “We salute his courage. Never board a moving train.”
People online were quick to praise the officer.
Shekar R said: “Presence of mind of Sri vishnu….superb…….Saved at the nick of moment!!”

Another person added: “Such a brave officer.”

Railway authorities regularly warn passengers to wait until trains have come to a complete stop before getting on or off.
The passenger has not been named, and the condition he was in after the rescue is not known.
READ MORE: Thieves use stolen tractor as battering ram in £87,000 petrol station raid