A 33-year-old man has gone on trial charged with the murder of his former partner.
Vesel Jahiri, with an address at Lohunda Crescent in Dublin 15, denies the murder of 25-year-old Anna Finnegan on 21 September 2012.
He also denies assaulting her brother, Karl Finnegan.
Ms Finnegan and Mr Jahiri had two young children, who were aged two and nine months, at the time of her death.
Mr Jahiri worked as a mechanic and Ms Finnegan looked after their children.
Prosecuting Counsel Patrick Marrinan said that Ms Finnegan and Mr Jahiri had been in a relationship for ten years, since she was very young.
They had lived together for around two years before her death.
However, he said that their relationship had deteriorated quite dramatically in the month before her death and they were no longer living together.
He said that access to the two children had become much more than a thorny subject between the two and may well have been central to the events that happened on 21 September 2012.
The court heard that on that night, at around 8.30pm, Ms Finnegan and her brother, Karl, were in Ms Finnegan's home, having a cup of tea in the kitchen.
The court was told Mr Finnegan was staying with his sister as a result of an arrangement made with the Wellman Clinic in Finglas, which was involved in the case.
The court was told Mr Jahiri forced open the front door and there was an altercation between him and Mr Finnegan, during which Mr Finnegan was stabbed in the head and chest.
The court heard Ms Finnegan fled from the house, distraught and screaming and sought help from a neighbour, but shortly afterwards collapsed on the road outside her house.
Mr Marrinan said that Mr Jahiri got his car, put Ms Finnegan in the back and drove her to Connolly Hospital Blanchardstown where she was pronounced dead a short time later.
The court heard that Mr Jahiri told gardaí that Mr Finnegan was armed with two knives when he entered the house.
He said he had attacked Mr Finnegan in self-defence and claimed he had no hand, act or part in stabbing Ms Finnegan.
The trial will continue tomorrow.