A look at life after al-Shabab in Mogadishu
11 June 2012 Last updated at 12:05 BST
After more than two decades of lawlessness and turmoil, Somalia is close to forming a new government.
African Union troops have fought hard battles to drive the militant group al-Shabab from the capital Mogadishu, and restore some normality to the country.
The BBC's Gabriel Gatehouse has been travelling with them.