A drunk man was found roaring obscenities near his home after he had an argument with his partner.
Martin Maughan (37) had been battling an alcohol problem and "had a slip" on the night.
Judge Dermot Dempsey fined him €150.
The defendant, of Holywell Villas, Swords, admitted public drunkenness and threatening and abusive behaviour last May 8 when he appeared before Swords District Court.
Gda Jennifer Quinn said gardai were called to the scene following reports of a male unsteady on his feet and stumbling between cars.
Gda Quinn said Maughan was roaring and shouting obscenities.
The court heard he also started verbally abusing his partner, who was standing outside their home.
He was told to desist in his behaviour but failed to do so and was arrested and taken to Swords Garda Station, where he was later charged with the public order offences.
The court heard the defendant had 23 previous convictions, including seven for public order matters.
Defence solicitor Fiona D'Arcy said Maughan had been battling an alcohol problem.
On the night in question he "had a slip" and drank to excess.
The defendant had a fight with his partner and that was at the root of his behaviour.
Ms D'Arcy said Maughan was no longer drinking and was very apologetic for his behaviour.
She also said he suffered from severe depression and was on medication.
Maughan suffered from "very dark spells", Ms D'Arcy added, and he often found it difficult to function on a day-to-day basis.