Judge Anthony Halpin sentenced Whitley to five months in prison and banned him from driving for four years.
Whitley, of Bawnlea Green in Tallaght, was found guilty before Tallaght District Court of dangerous driving at the junctions of Killinarden Heights and Cushlawn Park, at Donomore Avenue and Killinarden Heights, at Jobstown Road and the Tallaght Bypass, at the junction of Knockmore Avenue and Killinarden Heights, and at the Tallaght Bypass and Killinarden Heights, all in Tallaght.
Whitley denied the charges, claiming it was a case of mistaken identity and he was at home with his mother at the time.
Garda Sarah Donaghy said she was on mobile duty when she received a call that gardai in Blessington were pursuing a black Toyota, which was travelling inbound towards Tallaght.
Garda Donaghy said she was on the Tallaght bypass when she saw the car. Garda Brian McCormack, who was driving the patrol car, did a U-turn and followed the car.
Garda Donaghy said Whitley drove at high speeds through Tallaght, before Whitley lost control of the car.
The garda said the vehicle spun around on the road and crashed, with significant damage to the passenger side.
Defence solicitor Michael Hennessy said Whitley is an unemployed father-of -two who had worked as a car valeter.