Saudi Arabia took command of anti-rebel troops in Yemen's Aden, Saudi state media said Sunday, after the government and southern separatist forces struck a power-sharing deal following clashes in the city.

The fighting in August between loyalists and secessionists -- who for years fought on the same side against the Iran-backed Huthi insurgents -- had raised fears that the war-torn country could break apart entirely.

"Coalition forces have been repositioned in Aden to become under the kingdom's command and redeployed to conform with requirements of current operations," the Saudi-led pro-government coalition said in a statement carried by the Saudi Press Agency.

The move comes after the United Arab Emirates, which is part of the Saudi-led coalition against northern-based Huthis but has also trained southern separatists, handed key positions to Saudi forces earlier this month, according to a security official.

UAE minister of state for foreign affairs Anwar Gargash said on Twitter on Sunday that Saudi Arabia's command of coalition forces in Aden was "a positive development in the interest of stability, unity of priorities and of mobilising efforts".

"We are proud of our forces within the coalition, and the UAE continues to work with the kingdom for a better future for Yemen and its brotherly people," he added.

The UAE-trained Security Belt Force, dominated by members of the Southern Transitional Council (STC) which seeks independence for south Yemen, had seized Aden in August
The UAE-trained Security Belt Force, dominated by members of the Southern Transitional Council (STC) which seeks independence for south Yemen, had seized Aden in August AFP / Nabil HASAN

The UAE-backed Security Belt force in August seized control of Aden, which had served as the beleaguered government's base since it was ousted from the capital Sanaa by the Huthi rebels in 2014.

The Security Belt is dominated by supporters of the separatist Southern Transitional Council (STC), which seeks an independent southern Yemen.

But Yemen's internationally recognised government and the STC, both of whom have good relations with Riyadh, struck a power-sharing deal to end the conflict that erupted earlier this year, sources from both sides said on Friday.

The deal would see the STC handed a number of ministries while the government would return to the southern city of Aden, according to officials and reports in Saudi media.

In its statement Sunday, the coalition commended "the efforts of all forces, and at the forefront the UAE forces who have contributed to the success of operation plans."

The coalition intervened in Yemen in March 2015 as the Huthis closed in on Aden, prompting President Abedrabbo Mansour Hadi to flee into Saudi exile.

The conflict has since killed tens of thousands of people -- most of them civilians -- and driven millions more to the brink of famine in what the United Nations calls the world's worst humanitarian crisis.