Randy George Scott, who posted a video (below) on YouTube of himself driving up to 186 mph on the Trans-Canada Highway, walked into the Kelowna, British Columbia police department and surrendered because of a warrant out for his arrest.

Kelowna police said in a statement: "The man allegedly responsible for the infamous YouTube video 'Victoria Highway Run 299km' is in custody."

According to CNN, Scott videotaped himself speeding on the 50 mph highway, dangerously weaving around cars.

After the video went viral, members of the public squealed on Scott to law enforcement. Scott is scheduled to appear in court on Wednesday.

The video has over 1 million views on YouTube.