A man has been accused of throwing a hatchet at a Garda car and smashing a window in it in an act of "extreme violence" outside his Dublin home.
Michael O'Leary (38) is also accused of unlawful possession of two knives during the alleged confrontation. Judge John Cheatle granted him bail at Dublin District Court.
Mr O'Leary is charged with possession of a hatchet with intent to cause injury and throwing it at a Garda car, criminal damage and possession of two knives.
Objecting to bail, Garda David Woods said the case arose from a "violent and serious incident" at Mourne View in Skerries in the early hours of yesterday, involving an alleged attempt to assault a garda. Mr O'Leary addressed the judge, alleging "harassment" by gardaí.
Judge Cheatle granted bail.
The garda sought a curfew, but defence solicitor Fiona D'Arcy said this would be "unduly onerous".
Gda Woods said there were allegations of "extreme violence" and a curfew would be in the public interest.
The judge imposed a curfew from 11pm to 6am under bail conditions.