Power has been handed over to an elected assembly that will now appoint a new president and government.
Armed groups are still active, and their loyalties do not necessarily lie with the new government.
Al Jazeera's Will Jordan reports:
(Source: Al Jazeera)