A woman has told a court she was convinced she would be killed when a youth living in a nearby children's home subjected her and her teenage daughter to hours of death and rape threats.
The 16-year-old boy, who is in care, pleaded guilty at Dublin Children's Court to two counts of making threats to kill or cause serious harm in connection with the incident last April.
Garda Eoin Morrison told the court the teenager had been living at a care unit close to the woman's home.
He said they were in fear for their safety and were trauma- tised after the boy "made threats of murder, rape and sexual assault".
Gda Morrison told the court the boy threatened to burn the mother alive and rape her.
The court heard he said he would sexually assault her daughter, who he had wrongly thought was aged four or five.
The court was told the teenager made admissions to gardaí about the threats.
The boy, who cannot be named because he is a minor, made threats of strangulation, beating and sexual assault against the daughter child, it was alleged.
It started when he began throwing objects at the woman's home to harass the family.
The court heard he said he would "throw her around like a rag doll".
He told gardaí he would act out the threats and he wanted them to feel threatened.
The boy twice replied "Go f**k yourself" when charged.
Gda Morrison said that when questioned, the teenager had been insistent he meant his physical and sexual violence threats against the woman but not against her teenage daughter.
The threats against the child "were to get under the mother's skin".
Delivering a victim impact statement, the woman told Judge Treasa Kelly the threats had caused "considerable emotional, long-lasting damage".
The court heard the boy had struggled with mental health issues, for which he had been prescribed anti-psychotic medication.
He also pleaded guilty to attempted theft of a bicycle and a car.
Sentencing was adjourned and the boy remains in custody.
Tusla is represented in the case in relation to proposals to help in the teenager's rehabilitation.