A trainee carpenter who "took the law into his own hands" fired a blank from a handgun in a bid to intimidate a group of youths he believed were involved in a feud with his brother.
Shane Reilly (28) went into his house on a Co Louth estate and came back with the gun and blank ammunition at around 4pm.
He fired a shot in the air as a scare tactic as his brother was being subjected to racial abuse and assault, defence solicitor Patrick Goodwin told Drogheda District Court.
According to Mr Goodwin, "no-one was endangered".
When asked by Judge John Coughlan if it was a "running feud", Gda Amy O'Sullivan said: "It appears there was a feud on the day."
The gun and ammunition were located in the house by gardai after Reilly's mother had arrived home, the court heard.
Gda O'Sullivan said the defendant was cooperative.
The youths involved were asked to make a statement but declined.
Gda O'Sullivan agreed with Mr Goodwin that the defendant had not come to garda attention before the incident.
Remarking on the evidence, Judge John Coughlan said: "He was taking the law into his own hands. He tried to frighten the youths and he succeeded."
Reilly, of Beechwood Drive, Marley's Lane, Drogheda, pleaded guilty to being in possession of a firearm without a licence and to using the firearm without a licence on December 12th, 2015.
He has no previous convictions.
Judge Coughlan ordered a probation report and adjourned the case for finalisation on October 20.