A good Samaritan helped save a man from the subway tracks at 116th Street in Manhattan on Thanksgiving, the NYPD said. 

According to body camera video from a 25th Precinct officer, the good Samaritan jumped onto the tracks to retrieve the man. 

The man, 40, suffered a medical episode, police said. 

According to the NYPD, they only had two minutes before the train arrived.

“Riders told us, ‘Officer, you have two minutes before the train is coming.’ Right at that moment, I jumped into the track and right after that my partner, he also jumped,” Officer Taufique Bokth said.

Bokth and Officer Burnel Victor were patrolling the southbound side of the 6 train line around 4:30 p.m. in the afternoon on Thursday.

The video showed police officers and the good Samaritan getting the man back on the platform safely moments before the train pulled into the station. 

“It’s just like any situation, any 911 call we get, every person that stops us in the street, it's the same. You see someone in need of help, you go to action,” Victor said. “You don't have to stop and think about it especially in that dangerous situation there's no time to think the more you think the more you probably gonna fumble the bag.”

On the way back up, Bokth's gun belt got stuck on the platform right as the train was about to pull into the station, according to the NYPD.

“I was not scared of that and we are trained for that situation. I know my partner was there. My partner saw me having a hard time and he extended his hand to me,” he said, adding that Victor saved his life as well that day.

Police said the man was sent to Mount Sinai with minor injuries to his hand and back. 

"The joint commitment by Governor Hochul and Mayor Adams to have additional NYPD officers patrol in subway stations and on trains not only helps riders feel safer, but in this case enabled brave officers and a good Samaritan - in the finest tradition of New Yorkers helping each other - to save a life,” MTA chairman and CEO Janno Lieber said Friday in a statement.