A young woman threatened to kill gardai after she got into an argument with her partner outside his home.
Grace Tormey (22), who was drunk, also repeatedly threatened to kill the people inside the property.
She admitted before Dun Laoghaire District Court that she had drunk eight cans of beer on the night.
Judge Anne Watkin said Tormey's behaviour was "drink-fuelled" and sentenced her to two months in prison.
Tormey, of Parnell Street, Sallynoggin, admitted before Dun Laoghaire District Court to public drunkenness, threatening and abusive behaviour and resisting arrest.
The incident took place at Ashlawn Park, Ballybrack, last September 3.
A garda witness said he was called to Ashlawn Park at around 10.30pm following reports of an incident involving a young woman.
He said Tormey was standing on the road, shouting to a number of people in a house that she was going to kill them.
The officer added that Tormey was drunk, fought with gardai while being arrested and also threatened to kill officers.
She was taken back to the garda station, where she continued to be violent, kicking and lashing out at gardai.
The court heard Tormey has 14 previous convictions and is currently serving a seven-year sentence imposed in February after she hit a partially paralysed woman over the head with a wine bottle during an aggravated burglary.
Defence solicitor Ronnie Lynam said the incident for which she was before the court arose out of a disagreement between Tormey and her partner, which was fuelled by alcohol.
Mr Lynam said Tormey had difficulties with alcohol in the past but had been clean for a couple of years. She had "a slip" on the night in question.
He said the defendant accepts she was "out of control" at the time and has anger issues.
The solicitor asked Judge Watkin not to extend Tormey's jail term, saying her son is 18-months-old, she is serving a lengthy sentence and she is missing out on her child's formative years.
He said Tormey is working in the prison kitchen and is doing well. She has been subject to random urine tests, which have all been clean.