A dangerous driver described as a "stupid idiot" led the police on a 13-mile chase at speeds of more than 110mph.
Ryan Greening, 24, sped past a police station in Cardiff at 70mph in a 30mph zone. He was then caught on camera reaching 118mph in the chase.
Greening was recorded on dashcam driving a Nissan Juke and footage of the chase, which happened in April, shows Greening speeding around the city and flying through red lights. The incident only ended when he crashed into a parked car - and was tasered as he tried to run off.
At a court hearing, prosecutors said the officer checked his records and found the vehicle was insured for someone born in 1958. Greening had also never held a driving licence.
Prosecutor Julian Greenwood said: “We are dealing with a particularly shocking piece of dangerous driving. He is swinging this way and that."
Removal company worker Greening admitted dangerous driving without insurance and possessing cannabis.
Hilary Roberts, defending, said: "It was an atrocious piece of driving. He should not have been driving at all.
"He sums it up as being a stupid idiot. He knows there could have been terrible consequences as a result of his behaviour."
Judge Tom Crowther QC said: "He is daring the police to stand down, that is what this is all about.
The chase finally ended in Court Road in Barry when Greening crashed into a parked car before he and his passenger ran out of the vehicle.
Prosecutors said he was Tasered by the police and told to lie on the ground, where he was found to have 26g of cannabis.
Greening was jailed for 10 months and disqualified from driving for two years and four months.