A York Police officer and tow truck driver were almost hit by a driver while getting ready to tow a vehicle on the side of the road, and it was all caught on the officer's dashcam.

The video was shared on the York Police Department's Facebook page on Saturday morning and it shows an unidentified officer speaking with the driver from Jack's Towing on the side of a road in York when the driver sees the oncoming car shouting "Watch it! Watch it!" The officer turns and quickly jumps out of the way as the car zooms by, missing both the men by what appears to be inches.

The officer quickly runs to his cruiser to pursue the driver and eventually catches up with them.

Not only did the driver not slow down and move over as required by Maine's Move Over Law which was put into effect for this very reason, but they were also arrested for operating under the influence. The driver was charged $326 dollars for improper passing of an emergency vehicle using lights, will receive a fine of at least $275 for violation of the Move Over Law and of course, is on the hook for operating under the influence.

This video shows just how dangerous it is for emergency personnel while stopped on the side of Maine roads and highways. It's why many officers approach vehicles during traffic stops at the passenger side window, so they are in less danger of being hit by a careless driver.

Remember, if you see any vehicles on the side of the road, slow down and move over. It's the law.

Maine's 16 Counties Ranked By How Much Money People Make

Here's the list of every county in Maine ranked by median household income from lowest to highest.

The 10 Best Binga's Windham Signs Over the Past Four Years

It's impossible for us to share every single message that has gone up on the Binga's Windham sign, but we picked out 10 of our favorites.

50 Most Popular Chain Restaurants in America

YouGov investigated the most popular dining brands in the country, and Stacker compiled the list to give readers context on the findings. Read on to look through America's vast and divergent variety of restaurants—maybe you'll even find a favorite or two.

More From Q97.9