of the Transitional Federal Government (TFG), the Transitional National Government's successor. the TFG was the second interim administration aiming to restore national institutions to Somalia after the 1991 collapse of the Siad Barre regime and the ensuing civil war. The Transitional Federal Government (TFG) was the internationally recognised government of Somalia until 20 August 2012, when its tenure officially ended. It was established as one of the Transitional Federal Institutions (TFIs) of government as defined in the Transitional Federal Charter (TFC) adopted in November 2004 by the Transitional Federal Parliament (TFP). The Transitional Federal Government officially comprised the executive branch of government, with the TFP serving as the legislative branch. The government was headed by the President of Somalia, to whom the cabinet reported through the Prime Minister. However, it was also used as a general term to refer to all three branches collectively. Islamic Courts Union In 2006, the Islamic Courts Union (ICU), assumed control of much of the southern part of the country for 6 months and imposed Shari'a law. Top UN officials have referred to this brief period as a 'Golden era' in the history of Somali politics. Transitional Federal Government The Transitional Federal Government sought to re-establish its authority, and, with the assistance of Ethiopian troops, African Union peacekeepers and air support by the United States, drove out the ICU and solidified its rule. On 8 January 2007, TFG President Abdullahi Yusuf Ahmed, entered Mogadishu with the Ethiopian military support for the first time since being elected to office. The government then relocated to Villa Somalia in the capital from its interim location in Baidoa. This marked the first time since the fall of the Siad Barre regime in 1991 that the federal government controlled most of the country. Al Shabaab insurgency Al-Shabaab opposed the Ethiopian military's presence in Somalia and continued an insurgency against the TFG. Throughout 2007 and 2008, Al-Shabaab scored military victories, seizing control of key towns and ports in both central and southern Somalia. By January 2009, Al-Shabaab and other militias had forced the Ethiopian troops to retreat, leaving behind an under-equipped African Union peacekeeping force to assist the Transitional Federal Government's troops. Owing to a lack of funding and human resources, an arms embargo that made it difficult to re-establish a national security force, and general indifference on the part of the international community, Yusuf found himself obliged to deploy thousands