Firefighters in Michigan were captured on video racing to pull a man to safety after a car accident left his vehicle flipped on its side in the path of an oncoming train, officials said.

Police and firefighters in Portage responded around 6:20 a.m. on Friday to a report of a two-vehicle crash at the intersection of Shaver Road and West Centre Avenue, the Portage Department of Public Safety said.

First responders arrived to find a Chevy Cruz in the intersection with heavy front-end damage and a Jeep that had rolled onto its side and was straddling the railroad tracks.

The driver of the Jeep was still inside the vehicle and was unable to move because of back pain, according to authorities. 

TEXAS OFFICIALS RESCUE OVER 20 MIGRANTS FROM CROSS-BORDER TRAIN SMUGGLING OPERATION

firefighters pulling man to safety

Two firefighters dragged the injured driver to safety moments before a train plowed through his overturned vehicle. (Portage Department of Public Safety)

Just as firefighters began assessing the driver, officials said a train whistle sounded and the train crossing lights began to flash.

train striking car

The train struck the man's overturned Jeep in Portage, Michigan. (Portage Department of Public Safety)

"Firefighters, realizing what was about to take place, quickly removed the driver of the Jeep by dragging him to a safe location just seconds before a southbound train entered the intersection and struck the vehicle," the department said.

train dragging car into pole

The train dragged the vehicle several feet until the car struck a pole. (Portage Department of Public Safety)

10-YEAR-OLD AUSTRALIAN BOY WAKES FROM COMA AFTER HELICOPTER CRASH

The driver of the Jeep was taken to a local hospital for treatment. No update on his condition was immediately available. The driver of the Chevy Cruz was uninjured. 

CLICK TO GET THE FOX NEWS APP

Police said the cause of the car crash remains under investigation.