Updated

A Utah man has been arrested after police say he recorded himself driving erratically and posted the videos on YouTube.

Matthew Mitchell, 27, of Woods Cross, was pulled over and arrested Friday by troopers with Utah Highway Patrol, according to reports.

He used a dashcam to record the videos.

Court documents said an April 12 video shows Mitchell tailgating a Chevy Impala, swerving around that vehicle after stepping on the gas and then crossing multiple lanes, Fox 13 Utah reports.

Mugshot for Matthew Mitchell (Davis County Sheriff's Office)

GEORGIA POLICE OFFICER PULLS OVER GIRLFRIEND TO PROPOSE

Police said Mitchell passed 13 vehicles in about 20 seconds over a mile on I-15 in Layton, the station reported.

“Basically, we used the YouTube channel to identify the individual posting videos online of himself reckless driving,” Trooper Tosh Bennett told KUTV.

He also said that there were some videos where Mitchell appeared to be "boastful or proud of his driving patterns."

SUSPECTED DRUNK DRIVER CRASHES INTO PARKED SHERIFF’S VEHICLE WITH DEPUTIES INSIDE

Bennett said the case was unique because normally people want to hide their recklessness.

"He basically handed me the case in a neat little folder and all I had to do was put it onto paper and screen it with our prosecutors," the trooper said.

GET THE FOX NEWS APP

The nine charges against Mitchell included careless driving, reckless driving, following too closely, improper lane operation and speeding.