She said "being cryo-preserved gives me a chance to be cured and woken up — even in hundreds of years' time."
Her plaintive words convinced High Court Judge Peter Jackson to grant her final wishes in what he called the first case of its kind in England — and possibly the world.
The judge said the girl had chosen the most basic preservation option at a cost of about 37,000 pounds ($46,000).
The girl's divorced parents disagreed about the procedure, with the mother favoring it and the father initially saying no, though he softened his stance as his daughter's death neared.
The girl, who along with her parents can't be named for legal reasons, asked the court to designate that only her mother could dispose of her remains so that she could be cryogenically preserved, an unproven technique that some people believe may allow frozen bodies to be brought back to life in the future.
The concept is regarded with widespread skepticism by many in the medical community.
"It is no surprise that this application is the only one of its kind to have come before the courts in this country — and probably anywhere else," the judge said.
He called the case "an example of the new questions that science poses to the law."