When a 60-year-old fainted and fell off a subway platform onto the track Wednesday, an NYPD officer and a Good Samaritan jumped down to save him.

“It (the train) was literally one minute away,” NYPD Officer Ludin Lopez told CBS New York. “I just saw somebody who needed my help and I reacted. I wasn’t even thinking.”

In the meantime, another officer ran to the end of the platform, signaling with his flashlight for the train to slow down.

Two other officers helped pulled the rider, Officer Lopez and the good Samaritan up onto the platform as witnesses cheered. The train rolled in with literally seconds to spare.