A young mother who shouted abuse at gardai and resisted arrest has since been grieving the death of her partner's father, who was stabbed to death, a court has heard.
Kim Dodd (23) had tried to stop a garda from placing her in the back of a patrol car.
She has had a difficult time because her partner's father was killed at his home in Artane last month, her solicitor said.
Judge David McHugh imposed a two-month suspended sentence.
The defendant, of Aylward Green, Cappagh Road, Finglas, admitted charges of threatening and abusive behaviour and resisting arrest.
The incident took place near her home shortly after 11pm last November 3.
Gda Louise O'Sullivan told Blanchardstown District Court that Dodd was verbally abusive and aggressive towards gardai.
She was arrested and she tried to resist being placed in the back of a patrol car.
The court heard the defendant has 30 previous convictions, including 16 for public order matters.
Defence solicitor Simon Fleming said Dodd's last conviction was in 2012, and the majority of her convictions occurred when she was a juvenile.
Mr Fleming said Dodd was in the care of the State as a child as her mother was a heroin addict.
He said she had a difficult childhood, spending time in different foster homes around the country.
Mr Fleming said the defendant managed to "pull herself out of the cycle of poverty", had been doing well and had not been in trouble for five years.
The court heard Dodd's father is dead and her mother is still an addict.
Mr Fleming asked the judge to be as lenient as possible, saying Dodd has had a difficult time recently as her partner's father, Mark Richardson, was stabbed to death in front of her in last month.
He said the defendant, a mother-of-one, realises she is "responsible for her own destiny".
Mr Fleming said Dodd also wished to apologise to the court for her behaviour.
Judge McHugh suspended the sentence for 18 months.