(CNN)Two of Ireland's youngest convicted killers have been sentenced for the murder of schoolgirl Ana Kriegel, with one of the teens receiving life in prison.
The 15-year-old boys were found guilty in June of murdering Kriegel, 14, whose naked body was discovered in an abandoned farmhouse in Lucan, County Dublin last year, Britain's PA Media news agency reported.
Boy A, as he was referred to during the trial, was also found guilty of aggravated sexual assault and was sentenced on Tuesday to life imprisonment, with a review period after 12 years.
Boy B received a 15-year sentence, with a review after eight years. Both boys have been granted anonymity for life due to their age.
The schoolgirl's body was found after her parents reported her missing.
A post-mortem found Kriegel had suffered head and neck injuries.
Semen containing Boy A's DNA was found at the scene, PA reported.
"You took Ana Kriegel's life and subjected her to a terrifying sexual and physical assault in doing so," PA quoted the judge as telling Boy A at the sentencing.
"Boy B, you actively participated in her killing. You will both have to carry the guilt and shame of your involvement and the devastation you wrought upon her family for the rest of your lives."
He added: "The denial of Ana's right to life is at the core of the process, she should and no doubt will be remembered as a child, friend, daughter and sister that she was.
"A healthy 14-year-old girl, with her future before her and her short life should not be defined by how she died.
"Her precious right to life entitled her to live it to full potential, with fun, imagination, dancing music, a lovely and loving child in loving family," the judge said.
The court also heard from Ana's mother, Geraldine Kriegel.
"There is an emptiness in our lives. Life without Ana is no longer a life... it is a misery we must endure for the rest of our lives," she said.
During the trial, it was revealed that the schoolgirl was bullied in the months leading up to her death.
Correction: This story has been updated to correct where the victim's body was found.