MILLBRAE — In what could be described as a “Dukes of Hazzard” chase scene gone awry, a freeway pursuit from the South Bay through most of the Peninsula ended with the fleeing car flying through the air and a dazed driver getting hit with a stun gun by officers, according to the California Highway Patrol.

The frenzied chase began about 3 a.m. Saturday when CHP officers in the San Jose area alerted their colleagues in the Redwood City area that they were tailing a blue Dodge Charger on northbound Highway 101 that earlier had been traveling the wrong way against traffic. When the Dodge reached Willow Road, the Redwood City area officers took over the chase.

It continued for nearly 18 miles, when the Dodge driver tried to exit the Millbrae Avenue offramp and lost control of the car, causing it to hit a guardrail, go airborne and crash-land on its passenger side in the center median.

The driver, identified as 34-year-old Claudio Valdovinos, of San Jose, reportedly emerged from the wreck and tried to run away but was “subdued by arriving officers utilizing an electronic control device” — or stun gun — and arrested, the CHP said.

Valdovinos was booked on suspicion of misdemeanor evasion of arrest. There was no indication that he suffered any serious injuries.

Contact Robert Salonga at 408-920-5002. Follow him at Twitter.com/robertsalonga.