A police officer for NC Central University is being praised for pulling a woman out of a stalled car before a train collided with the vehicle.

Officials for the university said Officer Stacey DeSantis saw a car stopped on some Durham train tracks just before 3 a.m. on Saturday. After doing a wellness check and finding a driver in the vehicle, DeSantis attempted to move the car after the driver said it would not move.

Once a train began approaching the vehicle, the officer took her patrol car and the driver away from the tracks.

“Officer DeSantis acted quickly and with selflessness after seeing an individual in distress,” a representative for NC Central said in a statement. “Her actions are to be lauded and commended.”

The Durham Police Department is investigating what happened with the driver and vehicle.

Photo via NC Central University.