Article will continue after advertisement

An off-duty firefighter is being called a hero after pulling a woman from her SUV moments before it was struck by a train.

Officials say the SUV was stopped at a train crossing in Brookhaven, N.Y., when it was hit from behind by another car, pushing the SUV on to the tracks, WABC reports.

RELATED: Teen spends all his money to buy water for firefighters battling flames at his home

Firefighter Pete Dipinto Sr., 65, heard the collision from his nearby home. He ran to help and was able to get the driver out of the SUV moments before it was hit by a train. WABC reports he is a 30-year veteran of the local fire department, and his two sons are also firefighters.