The second 13-year-old boy to be charged with the murder of Kildare schoolgirl, Anastasia Kriegel, has been granted bail by Mr Justice Robert Eagar in the High Court.
The boy, who cannot be named because he is a minor, is accused of the murder of 14-year-old girl at Glenwood House, Laraghcon, Clonee Road, Lucan on 14 May.
He has been held in custody at the Oberstown detention centre in north Dublin since 12 July when he was charged.
The teenager sat between his parents during today's in camera bail hearing.
Garda Inspector Mark O'Neill, who is leading the murder investigation, objected to the bail application.
Reporting restrictions were imposed by the judge who agreed to grant bail subject to strict conditions.
The teenager will face his next hearing at the Children's Court on 28 August when it is expected that he will be served with a book of evidence and returned for trial.
The co-accused in this investigation, who was also aged 13, had been remanded in custody on 25 May by the Dublin Children's Court. He was the first to be charged with the murder.
Bail terms, however, were set by the High Court and he was released at the start of this month. He is due to appear again at the Children's Court on 30 August.
There has been no indication yet as to how either boy intends to plead.