Dubai's ruler, Sheikh Mohammed bin Rashid al-Maktoum, has been ordered by the High Court in London to provide a British record of more than £554m (€640m) to settle a custody battle with his ex-wife over their two children.
The bulk of the massive award to Princess Haya bint al-Hussein, half-sister of Jordan's King Abdullah, and the couple's two children, is to ensure their lifetime security, not least to address the "grave risk" posed to them by the sheikh himself, Mr Justice Philip Moor said.
"She is not asking for an award for herself other than for security" and to compensate her for the possessions she lost as a result of the marital breakdown, the judge said.
He directed Sheikh Mohammed to make a one-off payment of £251.5m within three months to Princess Haya for the upkeep of her British mansions, to cover the money she said she was owed for jewellery and racehorses, and for her future security costs.
The sheikh, vice president and prime minister of the United Arab Emirates, was also told to provide £3m towards the education of Jalila, 14, and Zayed, nine, and £9.6m in arrears.
He was also asked to pay £11.2m a year for the children's maintenance, and for their security when they become adults.
These payments will be guaranteed via a £290m security held by HSBC bank.
The final sum, despite being believed by some London lawyers to be the largest public award ever ordered by an English family court, is less than half of the £1.4bn that Princess Haya had originally sought.

During almost seven hours of testimony, Princess Haya, 47, said a large one-off payment would allow for a clean break and remove the sheikh's hold over her and their children.
"I really want to be free and I want them to be free," she told the court.
The huge financial settlement is the latest development in a legal saga that began when the princess fled to Britain in April 2019, fearing for her safety after she began an affair with one of her bodyguards, and a month after she had asked the sheikh for a divorce.
Later that year, the London court ruled Sheikh Mohammed had carried out a campaign of threats and intimidation that made her fear for her life, and that he had also previously abducted and mistreated two of his daughters by another marriage.
Earlier this year, the President of the Family Division in England and Wales, a senior judge, also determined that Sheikh Mohammed had ordered the phones of Princess Haya and her lawyers, one of whom is in parliament, to be hacked using the sophisticated "Pegasus" state security software.
Princess Haya had not asked for any divorce settlement. She did not offer an explanation, but her lawyers said she would have been entitled to seek billions as the ex-wife of one of the world's richest men.
"The mother's financial claims, and the size of the relief that's being sought, are quite unprecedented," the sheikh's lawyer, Nigel Dyer, told the court during hearings which could not be reported until today.
He said her demands were excessive and she was really claiming for herself under the guise of her children.
He also accused the princess of misusing the children's funds, saying that she had paid out £6.7m to blackmailers, who were part of her security team, to keep an affair quiet.
The court did not hear from the alleged blackmailers. Princess Haya said she used money from the children's accounts because she was frightened.
The £70m court fight
Princess Haya's lawyer, Nicholas Cusworth, said legal fees over two-and-a-half years had reached more than £70m, adding "the true extent of the colossal sums spent by (Mohammed) will never be known".
The bulk of Princess Haya's financial award will go on security, according to the details of the settlement. This was to keep the children safe from being abducted by their own father, the ruling said, including cash for a fleet of armoured cars, which would be replaced every few years.
Judge Moor said Princess Haya and her children needed the extensive provision to protect them from the sheikh, as well as because of their royal status.
"Absolutely uniquely, the main threat they face is from (the sheikh) himself not from outside sources," Judge Moor said.
"There will remain a clear and ever present risk to (Haya) for the remainder of her life, whether it be from (Mohammed) or just from the normal terrorist," he said, referring to security threats faced by someone in Princess Haya's position.
Such were the concerns that Princess Haya's head of security - known only as 'Director 1' - had to be brought into the courtroom to give evidence about her security needs with the windows blacked out, shielded with a curtain from all except Judge Moor and two lawyers, and his name handed to the judge on a piece of paper.
Princess Haya's lawyers told the judge the money available to the princess and the children in Dubai had been "limitless", with access to more than a dozen luxurious homes, a £400m yacht and a fleet of private planes.
She had an annual budget of more than £83m for her household in Dubai with another £9m spending money, the ruling said. Sheikh Mohammed's lawyer acknowledged to the court he could raise £1.25bn in cash within three months.
"I remind myself that money was no object during the marriage," Judge Moor said in approving Princess Haya's claim for £1.9m to be spent on a kitchen extension, pizza oven and kitchen curtains at her London home.

Judge Moor said he would not give "carte blanche" to Princess Haya's financial claims, but would consider her demands "with a very clear eye to the exceptional circumstances of this case, such as the truly opulent and unprecedented standard of living enjoyed by these parties in Dubai".
Princess Haya told the court it was not excessive for her to ask for millions to pay for five housekeepers, clothing, upkeep of her two mansions, one estimated to be worth about £100m, and regular holidays.
Her jewellery, in total valued at some £20m, would fill the courtroom if spread out, she said.
Judge Moor ordered Sheikh Mohammed to pay her £1m for missing haute couture garments which she said had disappeared and £5m to cover nine weeks of vacations for her and family members every year.
"She is not, in the context of this case, wealthy," her lawyer, Mr Cusworth, said. The ruling said she had been forced to sell £15.6m of assets - including horses worth £10m and £2.1m worth of jewellery - to make ends meet while she waited for the final settlement.
He said her demands should be seen in the context that Sheikh Mohammed had a £2m bill for buying strawberries one summer for his country estate, northeast of London.
However, the sheikh's lawyer, Mr Dyer, described many of Princess Haya's claims as "absurd" or "ridiculous", and said they were totally at odds with her stated desire for her children to lead a normal life.
He said the judge's ruling was likely to be "the largest financial remedy award certainly ever ordered and I imagine ever made by a family court".
The previous largest sum ever thought to have been ordered by a British court was the £453.6m that Russian billionaire Farkad Akhmedov was instructed to pay for his 2016 divorce settlement.
Sheikh Mohammed, 72, had offered to pay regular maintenance sums of £10m a year, and provide a £500m guarantee, which Mr Dyer said would "hang like a sword of Damocles" over his head and that of his family.
In his conclusion, Judge Moor said he found Princess Haya's evidence to be "palpably honest".
To Sheikh Mohammed, the princess's lawyer Mr Cusworth said: "The actual value of money is very different to any normal mortal involved in this case or any litigant who normally comes before this court."