A NEW Year's Eve reveller told a garda he was a "dead man walking" and threatened to stab him in the back with a knife.
Jason Wall (29) was drunk and threw a glass bottle over a group of people outside a pub, trying to start a fight.
Ordering a probation report, Judge Anne Watkin said Wall's behaviour was "horrendous".
The defendant, of St Patrick's Close, Monkstown, admitted before Dun Laoghaire District Court to resisting arrest as well as a number of public order offences at Kilmacud Road Lower, Stillorgan, on January 1 last year.
Gda Joseph Rochford said he was on patrol around 3am when he was alerted to a male who had thrown a glass bottle over people outside a pub.
He asked Wall for his name and address, but he refused to provide it and told him to "get the f**k away from me".
He directed Wall to go home, but he said he was "going back to the pub to sort the f**ks out" and "f**k you, I'd like to see you try and stop me".
Gda Rochford said Wall went back into the crowd outside the pub, who pushed him away.
He then told the officer he was dead and charged at him with his fists raised, throwing punches.
Gda Rochford said he got Wall into a headlock and on to the ground but he resisted violently, rolling around with him and trying to headbutt him.
The officer said he and a colleague eventually got Wall into a patrol car, where he began spitting. He said he put Wall's head down so he would spit on the floor.
Wall flipped himself over, aiming a kick at the garda driving the patrol car and kicking Gda Rochford in the face.
Gda Rochford said Wall told him he was a "dead man walking" and threatened to stab him in the back "with a knife and twist it".
Defence solicitor Andrew Vallely said three members of Wall's family have died in recent years and he has turned to drink to cope with his loss.
The case was adjourned to April.