Two British men detained in the United Arab Emirates for the past 18 years have been released from prison and returned to London after intervention from the UK government.

Ryan Cornelius, 72, was arrested at Dubai airport in 2008 and sentenced to 10 years in jail over allegations of fraud.

His business partner Charles Ridley, who was detained in the same year, has also been released.

The two completed their original 10-year prison sentences in 2018, but UAE authorities extended their detention by 20 years.

The Global Magnitsky Justice Campaign credited personal interventions from Foreign Secretary Ed Miliband and special envoy Alistair Burt for the breakthrough that lead to the pair's release.

In a post on X, external, Miliband said he was pleased the men had returned to the UK and thanked their families who "did not give up hope".

"I was deeply moved when I met the families by their eloquent and compelling case," he said.

"Above all, my thoughts are with the Ridley and Cornelius families who can begin a new and more hopeful chapter of their lives."