A teenage boy, known as Boy A, has been sentenced to life imprisonment for the murder of Ana Kriegel.
The judge has ordered for a review to take place after a 12 year period has expired, to decide whether he should be released or serve a further sentence.
Boy A also sentenced to eight years detention for the aggravated sexual assault on Ana Kriegel.
He still maintains he did not sexually assault her.
Boy B was sentenced to a period of 15 years detention for the murder.
A review of his sentence will take place after eight years.
At last week's sentence hearing, the court heard Boy A accepts he caused Ana Kriegel's death, but still maintains his innocence in relation to the aggravated sexual assault charge, to which he was also found guilty of.
The prosecution's case against Boy B was that he lured Ana from her home in Leixlip to the abandoned farmhouse in Lucan, knowing what was in store for her.
He was also convicted of murder, but does not accept the verdict.
The boys are now 14 and 15, so the mandatory life sentence for murder did not apply.
Reporting by Frank Greaney