Video captured the moment when a train slammed into a semi-truck that was trapped on the tracks in Texas on Tuesday.

The crash in Midland, Texas occurred after the vehicle got stuck while trying to navigate over the train tracks, KWES reported, citing authorities.

2 CHICAGO POLICE OFFICERS RESPONDING TO A SHOTS-FIRED CALL ARE STRUCK, KILLED BY TRAIN

The approaching locomotive could be heard on the recording honking its horn as it neared the railroad crossing. Shortly thereafter, the collision made a loud crashing sound as the train rammed into the vehicle.

GIRL, 8, DIES AFTER CRAWLING UNDER FREIGHT TRAIN AT MOTHER’S DIRECTION, POLICE SAY

Onlookers were also audible on the video reacting to the impending collision.

The truck’s operator was able to escape before the crash happened and dialed 911, according to KWES. No one was reportedly wounded in the event.