The quick reaction of a driver in Ukraine allowed him to avoid being hit by an out-of-control tram.

The incident happened in the city of Kharkiv and dashcam footage from the car shows the red and yellow tram moving briskly in the opposite direction. Initially, all seems well but as the tram gets closer to the cammer, it slips off the tracks and starts to slide sideways towards the cammer.

Also In Ukraine: There’s A Mercedes-Benz W124 Hiding Under These Weird Modifications

Prompted with the decision to either brace for impact or try to avoid getting hit altogether, the driver went with the second option and quickly turns to the left, narrowly avoiding getting hit by the tram in what could have been a very painful collision.

During the turn, the cammer had to drive over the median, which might have resulted in some undercarriage damage, but that’s much better than being collected by the sliding tram .

It remains to be seen whether or not the tram ended up hitting any other motorists that were nearby. Hopefully it didn’t make impact and no one was hurt, but even so we presume its passengers got the fright of their life.