Archie Battersbee has died in hospital after weeks of legal battles. The 12-year-old had been in a coma since he was found unconscious by his mother Hollie Dance in April.
ITV News looks back at a timeline of the case.
Archie is found unconscious by his mother, Hollie Dance, at her home in Southend, Essex. He has a ligature around his neck, prompting her to believe he was taking part in an online challenge gone wrong. The boy is taken to hospital with traumatic head injuries.
Barts Health NHS Trust, responsible for Archie’s care at the Royal London Hospital, begins High Court proceedings seeking to undertake a test of the brain stem - which is responsible for keeping people alive - and to withdraw mechanical ventilation.
Doctors think it "highly likely" that the youngster is effectively dead, and say it is in his best interests that life-support treatment should stop. Archie’s parents, Hollie Dance and Paul Battersbee, raise concerns.
High Court Judge Mrs Justice Arbuthnot rules that a brain stem test would be in Archie’s best interests.
Two specialists attempt a nerve stimulation test on Archie, but no response is detected.
Mrs Justice Arbuthnot, sitting in the Family Division of the High Court, oversees three days of evidence and argument relating to Archie’s treatment. Doctors think it is "very likely" he is "brain-stem dead". Lawyers representing Archie’s family say his heart is still beating and want care to continue.
Mrs Justice Arbuthnot rules that Archie is dead and says doctors can lawfully stop treating him. Archie’s family say they plan to appeal.
Ms Dance and Mr Battersbee, are granted permission to appeal against the decision.
At the subsequent hearing, three appeal judges rule that evidence relating to what is in Archie’s best interests should be reconsidered by a different High Court judge. Archie’s parents say they are "delighted" at the decision.
High Court judge Mr Justice Hayden hears evidence from doctors that continuing to treat Archie will only "delay the inevitable". But the boy’s mother says her son is a "natural-born fighter' and urges doctors to continue care.
Mr Justice Hayden rules in favour of the hospital trust, saying the medical evidence is "compelling and unanimous" and paints a "bleak" picture. He adds: "There can be no hope at all of recovery." Archie’s parents say they will ask Court of Appeal judges to overturn Mr Justice Hayden’s decision.
Sir Andrew McFarlane, president of the Family Division of the High Court and the most senior family court judge in England and Wales, Lady Justice King and Lord Justice Peter Jackson are told during a two-day hearing that medical evidence shows Archie is in a "comatose state".
The three Court of Appeal judges rule that doctors can lawfully stop providing life-support treatment to Archie. Again, the family announce plans to appeal to the European Court of Human Rights.
Archie’s family fail to persuade the Supreme Court to intervene in the case.
Undeterred, the family make a "last-ditch" application to a UN committee to step in.
The hospital caring for Archie says his treatment is due to be withdrawn on 1 August at 2pm. However, it is confirmed that the Court of Appeal has granted a virtual hearing for 11am on 1 August after the UK Government asked it to "urgently consider" a request from the UN committee to continue his treatment so the committee could examine his case.
The Court of Appeal rejects a request to postpone stopping Archie’s treatment. It says his life-support care will end at midday the following day.
Archie’s parents are refused permission to appeal against the latest ruling at the Supreme Court. Ms Dance says Barts Health NHS Trust will begin to withdraw Archie’s life support on 3 August at 11am unless the family have submitted an application to the European Court of Human Rights by 9am that day. The trust will not begin removing life-support until all legal issues have been resolved.
The European Court of Human Rights refuses the last-ditch application. Archie’s family say they intend to ask the High Court to allow the schoolboy to be moved to a hospice.
Nearly four months after Archie suffered traumatic head injuries, his parents formally lodge High Court proceedings over the move to hospice care - something the hospital opposes. Archie’s care continues. A hearing takes place at the Royal Courts of Justice in London, lasting late into the evening.
Mrs Justice Theis rules it is not in Archie’s best interests to be moved to a hospice. The High Court judge refuses the family permission to appeal against her ruling, granting a stay on the withdrawal of Archie’s treatment until 2pm on Friday to allow them to go directly to the Court of Appeal.
Refusing permission to appeal, the Court of Appeal judges say Mrs Justice Theis’ ruling dealt “comprehensively with each of the points raised on behalf of the parents” and said the proposed appeal had "no prospect of success".
A bid to the European Court of Human Rights, arguing the High Court ruling violated the European Convention on Human Rights, also fails. Archie’s family is told his life support will be withdrawn at 10am on Saturday, campaign group Christian Concern says.
Archie dies in hospital after weeks of legal battles. Speaking outside the Royal London Hospital in Whitechapel, east London, Ms Dance said her "beautiful little boy" died at 12.15pm.
Want a quick and expert briefing on the biggest news stories? Listen to our latest podcasts to find out What You Need To Know...