A man struggling with an alcohol problem was arrested after gardai found him trying to direct traffic in the middle of a city centre junction.
Man fled gardai when caught 'trying to direct traffic'
Dean Naughton (27) also hurled abuse at members of Dublin Fire Brigade as they dealt with another incident - herald.ie writes.
Judge Grainne O'Neill jailed him for four months.
Naughton, of Montpelier Park, Dublin 7, pleaded guilty to threatening, abusive and insulting behaviour.
Dublin District Court heard the first incident happened at Dame Street on August 1.
Gardai on patrol saw the defendant standing in the middle of the junction attempting to direct and stop traffic.
When the officers approached him, he ran into the path of oncoming traffic and down Temple Lane South, where he became violent and abusive to gardai.
The court heard the other incident happened at Bachelor's Walk on April 29 this year.
Fire brigade staff were dealing with a separate incident when the accused became aggressive toward them.
He shouted and swore at the fire brigade while he was being restrained.
Judge O'Neill asked if Naughton had impeded the fire brigade and a garda sergeant said it was "more a nuisance for them".
Naughton had been struggling with alcohol but had no drug addiction problems, his solicitor Michael Kelleher said.
Things had been "fraying at the edges" for Naughton and he was "doing nobody any favours at the time", Mr Kelleher added.
The accused had been "a nuisance, getting in the way of the gardai and various other services", he said.
The accused had already spent time in custody and had family support.
Judge O'Neill imposed two consecutive two-month sentences.
Read more news of Dublin here.