A teenager is lucky to be alive after she leaned out of a moving train to shoot footage for social media and hit her head on a pole.
The 19-year-old was being filmed by her friend as she decided to take on the daredevil task.
The accident happened as the local train was pulling out of the station.
READ MORE: Harrowing recording from doomed Brazil flight that killed 62 people reveals screams as plane crashed
The teen can be seen leaning out in the open doorway.
Seconds later, her body goes limp after her head strikes a pole on the platform.
Incredibly, she manages to keep hold of the handrails a few moments longer.
A CCTV camera catches the teen’s movements as she finally loses her grip and drops onto the platform in a heap.
Officials take swift action as she is rushed to a local hospital, where she is given an X-ray.
She suffered swelling and bruising to her head and a finger injury.
Incredibly, the teen sustained no brain damage.
She was discharged the same day, as reported by Need To Know.
The incident took place at Phatthalung Station in southern Thailand on 5 August.
It is believed that the content creator emerged in good nick because the train was moving slowly at the time.
But the State Railway of Thailand still called her behaviour “extremely reckless and inappropriate”.
They added: “We have instructed train staff to increase the frequency of safety inspections and to provide safety advice to passengers.
“If any risky behaviour is observed, staff will immediately issue a warning, and if not complied with, the passenger will be asked to disembark from the train immediately.”
READ MORE: Bees ‘savagely’ attack driver after he crashes into house and knocks their hive