The life of an 18-year-old Indian boy was saved by a quick-thinking cop, who jumped onto railway tracks and saved the teenager moments before the incoming train charged toward them.

Footage from the incident, which took place at around 2:30 p.m. Wednesday in the state of Maharashtra, showed the teenager standing near the edge of the railway platform. Police said the teen was trying to end his own life by jumping in front of the train. Meanwhile, the 35-year-old officer was captured walking down the platform a few feet away from the youngster.

The officer, Hrishikesh Mane, reportedly grew suspicious about the boy as he was wandering around for a while. When the boy jumped onto the train tracks, Mane quickly rushed to him and pushed him off the tracks, according to Hindustan Times.

“The youngster was standing on the edge of the platform when the Lokmanya Tilak Terminus Railway Station-Madhurai Express train was arriving. Mane told him to step back and moved on. When he turned around to confirm that the teenager had moved back as a train was approaching the platform, he saw the teenager had jumped on the tracks. Mane rushed back and also jumped,” a Government Railway Police (GRP) officer reportedly said.

CCTV footage captured the officer and teenager dodging the train in the nick of time.

“Without caring for his life, the police constable jumped onto the track and pushed the boy away from the train. He brought the boy back on the platform,” a GRP officer said, as quoted by The Print.

Following the incident, the police noted that the boy was scared and did not reveal what pushed him to jump in front of the train. The teenager’s parents were called and told about the events that took place, cops said.

A number of people on social media praised the heroic cop for saving the teenager’s life.

“Great presence of mind show [sic] by the Police,” read one comment on social media while another said, “Sir you did an excellent job and more importantly to save that person without thinking of your own safety. Humanity still exists…”

If you have thoughts of suicide, confidential help is available for free at the National Suicide Prevention Lifeline. Call 1-800-273-8255. The line is available 24 hours, every day.

Representative image Credit: Pixabay / analogicus