A banned driver led gardai on a car chase through a housing estate before jumping out of a moving vehicle and running away.
Bob Hemedy (29) panicked when he saw gardai as he knew they were aware he was disqualified.
Judge David McHugh sentenced Hemedy to five months in prison, saying it was "an appalling incident".
Judge McHugh said the defendant had shown "an appalling lack of responsibility", especially as he was a parent, and he had put the public at risk with his driving.
The judge also fined Hemedy and banned him from driving for 12 years.
The defendant, of Church Road in Mulhuddart, admitted before Blanchardstown District Court to dangerous driving as well as driving without insurance or a driving licence.
The incident took place at Curragh Hall Crescent in Tyrrelstown on October 7, 2017.
Garda Brian Masterson said he was on mobile patrol around 5pm when he saw a silver BMW travelling toward him.
Gda Masterson said he recognised the driver as Hemedy, who he knew was a banned driver. He signalled for the driver to stop but he failed to do so.
The defendant drove away at speed around the Curragh Hall estate and was pursued by gardai.
Gda Masterson said Hemedy mounted a kerb and entered a wooded area before opening the driver's door, jumping from the moving car and tumbling away.
The car crashed into shrubs as Hemedy ran away from the scene. He was later arrested and charged.
The court heard Hemedy had four previous convictions for uninsured driving and was disqualified at the time.
Defence lawyer Ciaran MacLoughlin said Hemedy, originally from the Democratic Republic of Congo, came to Ireland when he was a young boy.
The court heard Hemedy worked in a healthcare shop and had one daughter.
In relation to this incident, Mr MacLoughlin said Hemedy had been driving a friend's car at the time.
When he saw gardai he panicked and drove away because he knew gardai were aware he was a banned driver.
Mr MacLoughlin added the defendant wished to apologise for his behaviour.