LONDON (AP) — A British court on Tuesday ordered the ruler of Dubai to pay his ex-wife and their children close to 550 million pounds ($730 million), in one of the most expensive divorce settlements in British history.

The High Court said Sheikh Mohammed bin Rashid Al Maktoum must pay 251.5 million pounds to his sixth wife, Princess Haya Bint Al Hussein, and make ongoing payments for their children Al Jalila, 14, and Zayed, 9, underpinned by a bank guarantee of 290 million pounds.

The total amount the children receive could be more or less than 290 million pounds, depending on factors including how long they live and whether they reconcile with their father.

The settlement includes 11 million pounds a year to cover security costs for Princess Haya and the children while they are underage.

Judge Philip Moor said the family needed “water-tight security,” and that “absolutely uniquely,” the main threat to them came from Sheikh Mohammed, rather than outside sources.

Haya, 47, fled to the U.K. in 2019 and sought custody of her two children through the British courts. The princess, who is the daughter of the late King Hussein of Jordan, said she was “terrified” of her husband, who is alleged to have ordered the forced return to the Gulf emirate of two of his daughters.

Sheikh Mohammed, 72, is also the prime minister of the United Arab Emirates and a major horse breeder. The founder of the successful Godolphin horse-racing stable, he is on friendly terms with Queen Elizabeth II.

A British family court judge ruled in October that Sheikh Mohammed had authorized the hacking of Princess Haya’s phone during their legal battle. He denied knowledge of the hacking.

The judge also ruled that Sheikh Mohammed had conducted a campaign of fear and intimidation against his estranged wife and “ordered and orchestrated” the abduction and forced return to Dubai of two of his adult daughters: Sheikha Shamsa in August 2000 and her sister Sheikha Latifa, in 2002 and again in 2018.