A DRUNKEN teenager who ripped off his shirt and ran at gardai asking for a fight was upset after attending a close friend's funeral, a court heard.
Patrick Dixon (19) said his girlfriend had warned him that their relationship was over if he got into any further trouble with the gardai.
He apologised for his behaviour, saying he had a drink problem as a juvenile but that he very rarely drinks now.
A judge ordered Dixon to 80 hours' community service in lieu of 60 days in prison.
The defendant, of Valeview Drive, Finglas admitted public drunkenness and threatening and abusive behaviour at Blanchardstown District Court.
The incident took place in the car park of The White House pub in Finglas shortly before 11.30pm on August 21.
Garda Sergeant Maria Callaghan said gardai were on mobile patrol when they came across Dixon in the car park of The White House.
He ran at the patrol car and punched the window, ripped off his shirt and repeatedly ran at gardai, urging them to fight him.
The sergeant said Dixon was very drunk.
The court heard he has 39 previous convictions, all dating back to when he was a juvenile.
Defence solicitor Conor Ruane said Dixon had an alcohol problem as a juvenile which got him into trouble.
But that he had turned his life around in the past two years and rarely drinks, he added.
Mr Ruane said the defendant, who will soon turn 20, had been to a friend's funeral on the day in question and was upset.