A drunk driver in Taiwan was captured on camera attempted to speed through a rail crossing at the same moment as a train.

Dramatic CCTV footage shows the moment driver, Lin Nan, speeding through a train-crossing barrier at the same time as a train was rolling through, with Lin smashing into the side of the train and the white car he was driving being thrown to the side as the train speeds by the crossing. The video ends with a car safely passing through the crossing after the barriers are raised, and an onlooker rushing to aid Lin.

According to a report from ViralPress, Lin, who survived the crash with minor injuries, told police that he had been out drinking the night before and had woken up and gone out to attempt to buy breakfast Monday morning. The driver told officers that he had not seen the train, which had been carrying 370 passengers near the town of Jiamin, despite the red and white barrier that was lowered to indicate that a train had been passing through.

FRESHMAN COLLEGE STUDENT AND FATHER KILLED BY DRUNKEN DRIVER ON THE WAY TO ORIENTATION

Car after crashing into train in Taiwan

A drunk driver in Taiwan crashed into a speeding train. (ViralPress)

Police administered a breathalyzer and found that Lin had a blood alcohol content of 0.30 mg/dL, twice the legal limit in Taiwan. He was detained for drunk driving and putting members of the public in danger, according to the report. 

Taiwan crash

A drunk driver smashed into a speeding train in Taiwan.  (ViralPress)

All of the passengers aboard the train were reportedly uninjured, although they were delayed for over two hours as they waited for a new train to pick them up so the damaged train could be returned to a maintenance yard for repair.

Car removed from site of crash with train

Workers in Taiwan remove a car that struck a speeding train. (ViralPress)

A DRUNKEN DRIVER KILLED MY YOUNG HUSBAND AND 1-YEAR-OLD SON. HERE'S HOW I'M SEEKING JUSTICE

Drunk driver crash

A Taiwanese drunk driver hit a speeding train. The main survived with only minor injuries. (ViralPress)

"We urge people not to drive after drinking. We must also remind drivers to be careful when crossing level crossings, and to always yield to trains," the Hualien Branch of the Railway Police Bureau said in a statement following the incident.

CLICK HERE TO GET THE FOX NEWS APP