A judge refused to allow the media to name two teenagers who battered a vulnerable woman to death in her own home after hearing how one of them has tried to kill herself a number of times during her trial.
A court order has prevented the naming of the two girls, who are now both 15, since they first appeared before magistrates in 2014.
After they were convicted of murder this week, various media organisations asked for this order to be lifted but the judge said the welfare of the two girls was at risk.
Mr Justice Globe told the court: "They (defence barristers) emphasise the fact that each defendant poses a risk of self-harm. In one case, it is a real and present danger. Removing anonymity is likely to exacerbate what is already a dangerous situation."
The judge said the older girl had tried to kill herself on a number of occasions.
He said to her: "There have now been four attempts, two at this court, where I am satisfied you have made real efforts to commit suicide during the course of the trial.
"The most recent one was here at court in the midst of my summing-up late on Monday afternoon.
"Those looking after you are on high alert to look after your safety. I am prepared to take notice of your current state of health as a mitigating feature. It is also highly influential in my decision as to anonymity."
The judge described how one member of court staff saved the girl's life with her "prompt and immediate action".
He added: "In circumstances where I might be satisfied that both of you were stable, strong-minded defendants convicted of serious crime, the balance might arguably have been in favour of the lifting of anonymity."
The judge concluded: "I am sure that everything that can be done will be done to try and protect you from yourself.
"Nonetheless, despite the terrible thing that you have done and the sentence that must be imposed upon for it, I am concerned and disturbed by what I regard as a heightened real risk that identification followed by a press blitz will elevate the risk to your life to such an extent that I am satisfied that there is a real and immediate risk to your life if you were to be identified as one of the two girls who murdered Angela Wrightson."
The judge accepted there was legitimate public interest in the press naming the girls, although he disputed the claim that removing their anonymity would help deter other offenders.
He said: "This type of offence is extremely rare and it is arguable that no further deterrence is necessary or, if it is, the naming of the individuals will add little to the fact that those responsible have been brought to justice, been convicted and been sentenced."
The judge also referred to the first trial of the two girls which had to be halted due to comments made on social media.
He said: "I am reminded of events following the opening of the case at Teesside last summer when there was a blitz of extreme and disturbing comments posted on Facebook by members of the public.
"The effect of a similar blitz upon anonymity being lifted is likely to result in the identification of juvenile witnesses, the families of both defendants, their carers and their schools.
"In turn, that could detrimentally affect the lives of both defendants, who remain in fragile and vulnerable emotional states."
He said Cleveland Police advised him that "there are no obvious benefits that arise from disclosing the names of the defendants other than to further sensualise the case."
The question of whether children who kill or commit other serious crimes should be identified is controversial.
In 2014 a judge ruled that Will Cornick, who was 15 when he murdered teacher Ann Maguire, should be named after he was sentenced to life with a minimum of 20 years behind bars.
And in perhaps the most infamous of all cases of children who have killed, Jon Venables and Robert Thompson were named as the killers of the Liverpool toddler James Bulger.
They were both 10 years old at the time of the killing and were later given anonymity under new identities.
But, in another case that shocked the nation, two brothers in what became known as the "Edlington case" retained their anonymity from the start of the court process on the order of a judge.
The pair were aged 10 and 11 when they tortured and threatened to kill two nine and 11-year-old victims in the former pit village of Edlington, South Yorkshire, in 2009.
Killings by children are rare and female perpetrators are even rarer.
But before James Bulger's murder, the most notorious child who had killed in the UK was Mary Bell.
Bell was just 11 when she was found guilty of the manslaughter of two small boys in Newcastle in 1968. Like Thompson and Venables, she was later given lifelong anonymity under a new identity.