With few friends at home and abroad, Abdullahi Yusuf had little choice but to quit as Somalia's president.
His decision to go could not have come at a more critical point for Somalia.
In his nationally broadcast resignation speech, Mr Yusuf reminded Somalis of the promise he had made when he was elected more than four years ago.
"When I took power, I pledged three things," he said.
"If I was unable to fulfil my duty, I will resign.
Yusuf's resignation also makes it much easier to build a new, more moderate and inclusive government
Western diplomat
"Second, I said I would do everything in my power to make government work across the country. That did not happen either.
"Third, I asked the leaders to co-operate with me for the common good of the people. That did not happen."
There is no doubt President Yusuf failed on all of those counts.
The radical al-Shabab rebels now control almost all of central and southern Somalia, apart from a few districts of Mogadishu and the town of Baidoa where the government is based.
Power struggle
But it is the third pledge - to get the support of parliament - that ultimately triggered his departure.
Abdullahi Yusuf
Abdullahi Yusuf admitted that he had failed to fulfil his three pledges
President Yusuf had been locked in a bruising power struggle with his Prime Minister Nur Hassan Hussein for months, particularly over the prime minister's attempts to draw moderate Islamists into the government.
Two weeks ago, he tried to sack Prime Minister Nur, only to have parliament declare the dismissal unconstitutional, and then pass a vote of confidence in the prime minister.
At the same time, Somalia's neighbours turned on the president, accusing him of being the chief obstacle to peace.
On 5 January, Ethiopia is due to withdraw the last of its troops from Somalia.
Along with a handful of African Union troops from Uganda and Burundi, they have been one of the few shields protecting the Somali government from the al-Shabab rebels.
There is still no sign that the Ethiopians are packing up, and they may yet decide to delay their departure once more.
DES MOINES, Iowa - After a week of snowfall, icy roads and threats of flooding, weather in much of the state is returning to normal.
Meteorologist Craig Cogil with the National Weather Service in Des Moines says no additional rain or unusually warm temperatures are expected this week, giving Iowa a reprieve from weather that has caused travel problems and minor flooding.
Cogil says the threat of ice jams in rivers remains, which could cause more flooding.
According to the National Weather Service, flood warnings remain in effect for the Chariton River at Chariton; the Raccoon River in Des Moines; the Iowa River at Wapello and Marengo; the English River at Kalona; the Mississippi River at Gregory Landing; and the North Skunk River near Sigourney.
DES MOINES, Iowa - After a week of snowfall, icy roads and threats of flooding, weather in much of the state is returning to normal.
Meteorologist Craig Cogil with the National Weather Service in Des Moines says no additional rain or unusually warm temperatures are expected this week, giving Iowa a reprieve from weather that has caused travel problems and minor flooding.
Cogil says the threat of ice jams in rivers remains, which could cause more flooding.
According to the National Weather Service, flood warnings remain in effect for the Chariton River at Chariton; the Raccoon River in Des Moines; the Iowa River at Wapello and Marengo; the English River at Kalona; the Mississippi River at Gregory Landing; and the North Skunk River near Sigourney.
As the violence rages in Gaza, President Bush is putting the blame squarely on Hamas, while President-elect Barack Obama is keeping a low profile and sticking by his belief that "there is only one president at a time."
Barack Obama reiterated his support for Israel when he visited Sderot in July.
Barack Obama reiterated his support for Israel when he visited Sderot in July.
But with less than a month until the inauguration, the president-elect could inherit an international crisis -- one he will not be able to defer to Bush.
Israeli airstrikes pummeled Gaza for a third day Monday as part of what Israel's defense minister called "an all-out war" with Hamas. Israel says the attacks are a response to escalating rocket attacks against southern Israel.
Israel has tanks on the border and has approved the call-up of 2,000 reservists, but there was no indication of a Israeli ground incursion Monday. However, Israeli politicians say that all options are on the table. Video Watch more on the violence in Gaza »
When Obama visited war-torn Sderot in July, he declared his unequivocal support for Israel.
"I'm here to say that -- as an American and as a friend of Israel -- that we stand with the people of Sderot and with all the people of Israel," he said.
Obama said that it is in the interest of Israel's security to arrive at a lasting peace with the Palestinians. He also said that Israel had a right to defend itself against rocket attacks from Hamas, the Palestinian militant group that rules Gaza.
Don't Miss
* Barak: Israel in 'all-out war' with Hamas
* Obama closely monitoring Gaza, adviser says
Asked Sunday if a land invasion would change how the Obama administration views Israel, Obama's senior adviser yielded to Bush.
"The fact is that there is only one president at a time. There's only one president who can speak for America at a time. And that president now is George Bush," David Axelrod said on CBS' "Face the Nation."
The president-elect is said to be monitoring the situation closely. He has been in contact with Secretary of State Condoleezza Rice, and Hillary Clinton, the incoming secretary of state.
Democratic strategist and CNN contributor Hilary Rosen said that the Obama administration probably will now put the situation on the "front burner."
"They've got a big job ahead of them to stay firm for Israel, but make the Palestinians trust them enough to come to the table," she said.
Obama has pledged to make Middle East peace a priority from the beginning of his presidency. Arabs are calling for a more even-handed approach than the Bush administration, but Israel is expecting Obama to stay true to the pro-Israel posture he showed during the campaign.
Obama also has said he believes that Jerusalem will be the capital of Israel, remarks that have caused concern among some Palestinian leaders.
Earlier in the summer, his campaign spent several days clarifying his position after he said in a speech that Jerusalem should not be divided. Obama said he used "poor phrasing."
"The point we were simply making was, is that we don't want barbed wire running through Jerusalem ... that it is possible for us to create a Jerusalem that is cohesive and coherent," he said.
Obama said it was in the interest of Israel's security to arrive at a lasting peace with the Palestinians.
"I think if you look at the signals President-elect Barack Obama put forward in the campaign, he was talking about defending Israel. I think you are going to see a lot of caution as they move forward strategically," said Leslie Sanchez, a Republican strategist and CNN contributor.
Asked Sunday if the Obama administration would be as supportive of Israel as the Bush administration has been, Axelrod said the president-elect would "honor" what he sees as "the special relationship between the United States and Israel."
"But he will do so in a way that will promote the cause of peace, and work closely with the Israelis and the Palestinians on that -- toward that objective," he said.
But one analyst of the Israeli-Palestinian conflict cautioned against putting "dangerously high" expectations on the incoming administration.