The Somali interim prime minister claims victory but fighting continues in Mogadishu.
Local human-rights groups and diplomats have said that war crimes and crimes against humanity were committed during the fighting.
The Somali interim government, backed by Ethiopian forces, launched a massive operation to defeat fighters loyal to the Union of Islamic Courts at the end of March.
The UN has accused both sides in the conflict of breaking humanitarian law by indiscriminately firing on civilian areas.
Yusuf also told aid agencies his government would help them work without hindrance after complaints that officials had slowed down aid delivery by demanding to inspect food and medical supplies.
About 350,000 people have fled the city since February, more than a third of its one million population, although some began to return on Saturday.
The UN says the rate of displacement in Somalia over the past three months has been worse than Iraq in the same period.
Many fled to towns and villages around the capital, sleeping in tents and in the open.
Ethiopian and Somali government troops patrolled Mogadishu’s streets searching vehicles for weapons, following a day of calm after more than a week of heavy fighting.
Local radio stations reported on Saturday that residents of Mogadishu were collecting rotting bodies for burial.
Sheikh Sharif Sheikh Ahmed, head of the Islamic Courts’ Union’s executive council, told Al Jazeera that the humanitarian situation in Somalia was extremely bad.
He said: “Mogadishu has become almost deserted.
“Unfortunately, what is left of the infrastructure and service facilities in Mogadishu is now being destroyed.
“We were promised that there will be no US-backed Ethiopian intervention assisted by collaborators, but unfortunately there is.”
Sheikh Ahmed also called for the African Union to help speed up the withdrawal of Ethiopian troops from Somalia, saying: “What is going on now in Somalia is what the United States wants, and the United States wants nothing but to destroy all Somalia.“