6 June 2011 Last updated at
What Saleh's departure means for Yemen's future
By Jeremy Bowen
BBC Middle East editor
There have been near daily protests against President Saleh since February
President Ali Abdullah Saleh's opponents in Yemen have been celebrating as if he has gone forever. That might be premature.
The president's long time supporters in Saudi Arabia are giving him medical treatment for the wounds he suffered when his compound was shelled.
The Saudis want him to step down, and might increase the pressure now that he is on their home turf.
They are working on a deal that will usher him out of power, that he might be persuaded to sign.
But Mr Saleh has made hanging on to power into a science.
In Yemen sources in the presidency have told the BBC that as soon as he is better he will be back in Sanaa, the capital.
He has persisted despite huge popular demonstrations by tens of thousands of Yemenis who want their own Arab spring - and summer.
He has resisted pressure from the Gulf countries, and refused to budge in the face of a power struggle launched by a rival family.
Middle East unrest: Yemen
President Ali Abdullah Saleh in power since 1978
Population 24.3m; land area 536,869 sq km
Median age 18; youth unemployment 15%; literacy rate 61%
Gross national income per head $1,060 (2009)
Even if President Saleh decides it is time to go, his sons and nephews are still in key positions in Yemen, commanding important military units. They might not want to retire.
Against them is the next generation of the al-Ahmar family.
The late Sheikh Abdullah al-Ahmar, who died in 2007, effectively shared power with Mr Saleh. His four sons believe their time has come.
The contest for power in the elite has been going on at the same time as demonstrations by Yemenis who want real change, not just a dynastic reshuffle, in the Arab world's poorest country.
If there is a new face at the top, but no new system, they will not be satisfied.
Yemen has huge problems. There is a long running insurgency in the north, and a separatist movement in the south.
Prices are rising, and its growing population does not have enough to eat. Yemen has the third highest rate of malnutrition in the world.
It is running out of water and of its small deposits of oil. Sales of oil finance 90% of its imports of staple foods.
Presidential sources say Mr Saleh will be back from Riyadh in a matter of days
Yemen is also the base for an ambitious and violent al-Qaeda affiliate.
Even after the demonstrations started, President Saleh was still seen as the least bad option by the Saudis and by Western countries, led by the United States.
He was seen as the best ally they had against the group, which calls itself al-Qaeda in the Arabian Peninsula (AQAP).
But now that President Saleh's stubbornness shows every sign of precipitating a civil war, his allies have decided it is time for him to go.
His departure will not take away the questions about Yemen's future.
But it might stop the worst of the killing, for a while at least, and it will buy time to try to find a way to reconcile the claims of Yemen's powerful families, and the demands of the people who have been camping on the streets of the capital demanding a better life.
More on This Story
Features & Analysis
Around the web
Share this page
The UN Human Rights Council is to hold an emergency session on Syria, after a report says security forces committed crimes against humanity.
The escape from a WWII sub that was doubted for decades
Meryl Streep's last Oscar was for which film?
New Icelandic volcano eruption could have global impact
The man who may fill the government gap
The entrepreneur and now multi-millionaire at the forefront of China's new-found philanthropic thinking
Why one of America's most influential investors is worried "as a parent" about the state of the economy