The Transitional Federal Government (TFG; ; ; ) was the internationally recognized provisional government of Somalia from 14 October 2004 until 20 August 2012. It was established in Nairobi, Kenya, following the Transitional National Government (TNG), and formed part of an internationally backed peace process aimed at restoring state institutions after the collapse of the Somali Democratic Republic in 1991. The TFG operated under the Transitional Federal Charter and represented the 14th attempt to establish a central government since the outbreak of civil war.

Initially based in Kenya, the TFG relocated to Somalia in 2005 amid internal divisions and low public confidence. The first administration, led by President Abdullahi Yusuf, was plagued by disputes over the deployment of foreign troops, deep factionalism, and competing claims of authority. With strong military and political backing from Ethiopia, the TFG was installed in Mogadishu following Ethiopia's 2006 invasion to overthrow the Islamic Courts Union (ICU). This intervention triggered a protracted insurgency led by Al-Shabaab and other Islamist factions. The subsequent Ethiopian military occupation severely undermined the TFG’s legitimacy and contributed to widespread violence, displacement, and the rise of one of Africa’s deadliest insurgencies.

By 2008, most of the country had fallen under insurgent control, leaving the TFG on the brink of collapse. More than 80% of the police and army had deserted. During a UN-brokered reconciliation process, the TFG entered into a power-sharing agreement with the insurgent Alliance for the Re-liberation of Somalia (ARS). President Yusuf resigned after the TFG parliament initiated impeachment proceedings against him, and former ICU chairman Sharif Sheikh Ahmed was subsequently elected president. Despite the transition, the new administration remained fragile and faced renewed insurgent advances, nearly collapsing again in 2009 as the Somali Civil War entered a new phase.

The TFG struggled with endemic corruption, serious internal conflict, weak institutions, and limited territorial control. Despite international support—including backing from the African Union and the United States—from its inception it remained heavily dependent on foreign troops for survival. A transitional roadmap was adopted in 2011, and that year with support from the African Union Mission in Somalia (AMISOM) that had first deployed in 2007, the TFG took control of key territory, including Mogadishu.

On 20 August 2012, the TFG’s mandate formally ended with the establishment of the present Federal Government of Somalia (FGS).

Background During early 1991, the government of the Somali Democratic Republic collapsed as the Somali Rebellion transitioned into the full scale Somali Civil War. Between 1991 and 2000, no central government existed in Somalia. In 2000, the Transitional National Government (TNG) was formed. Another attempt was in Kenya during 2004 led to the formation of the Transitional Federal Government (TFG).

History

In October 2004, Abdullahi Yusuf Ahmed was elected President of the Transitional Federal Government (TFG) with strong backing from Ethiopia. The Ethiopian government supported Yusuf, anticipating that he would abandon Somalia’s long-standing claim to the Ogaden region. Prior to his presidency, Yusuf had been part of an Ethiopian-backed coalition of warlords that had disrupted the earlier Transitional National Government (TNG) formed in 2000. After taking office, Yusuf appointed Ali Mohammed Gedi as prime minister. However, on 11 December 2004, parliament passed a vote of no confidence in Gedi’s government, declaring his appointment unconstitutional. Despite this, Yusuf reappointed Gedi only two days later, though by the end of the year, Gedi had not reconstituted his cabinet. According to I.M. Lewis, Yusuf's election as president and his appointment of Gedi, who had ties to Ethiopian prime minister Meles Zenawi, were heavily influenced by Ethiopia. These connections played a key role in the Ethiopian invasion of Somalia two years later. The New York Times reported that PM Gedi’s rise to power had been effectively of Ethiopian creation.

In 2004, Yusuf made his first foreign visit as president when he travelled to Ethiopia. During the trip to Addis Ababa he requested 20,000 Ethiopian troops to back his government. The majority of Somali society, including much of the newly formed TFG, deeply opposed any foreign military intervention on Somali soil. An African Union fact finding mission to Somalia in 2005 found that the overwhelming majority of Somalis rejected troops from neighbouring states entering the country. During 2005 the TFG was deeply divided over a possible deployment of foreign troops in Somalia. Various prominent Somali leaders and groups threatened to forcefully oppose such an intervention.

Entry into Somalia and internal divisions (2005) In March 2005, a debate on deploying foreign troops, including Ethiopian forces, to Somalia led to violence after the resolution was rejected by a vote of 156 to 55. A brawl was initiated by some opposing the result, injuring several MPs, and the vote was declared invalid thereafter. By insisting on the deployment of foreign troops from countries bordering Somalia, President Abdullahi Yusuf and his Prime Minister Ali Gedi disregarded the views of their cabinet, a clear majority of transitional parliament, and much of the public. Kenya, which had been hosting the conference, called the events disrespectful to its government and warned the TFG to behave as "we prepare you for your return home". Public opinion in Kenya turned against the TFG, as many citizens accused it of remaining in Kenya for per diem payments.

Under heavy pressure from Kenya, the government prepared to move into Somalia. During June 2005, the TFG moved into Somalia for the first time and promised to establish its authority across the country. Instead it quickly devolved into infighting, and serious internal divisions arose. A seat of power could not be agreed on. 100 members of the 275-strong parliament - led by Speaker Sharif Hassan Aden - chose to move to Mogadishu, stating they would try to restore stability to the capital. On the other hand President Abdullahi Yusuf, Prime Minister Ali Gedi and their supporters set up base in Jowhar, 90 km north of Mogadishu, citing insecurity in the capital.

Internal divisions were so serious that open warfare almost broke out between the two TFG factions in September 2005, coming dangerously close to a major conflict. Neither parliament or the full cabinet had met since the March fight in Kenya. No progress was made in establishing a minimally functional government or creating a civil service. For the remainder of 2005 the TFG remained deeply divided. So little was achieved over 2005 that some observers argued that the March fighting had been "the only high point for the TFG" as MPs had not simply rubber stamped proposals. Despite these deep dysfunctions and incapacity to rule, the notion that the TFG was the legitimate government of Somalia persisted—both in international legal discourse and in the strategic ambitions of Ethiopia.

Ethiopian military occupation (2006–2009)

In February 2006, the TFG struck a deal with the warlord in control of Baidoa city, and moved the seat of government there. Several TFG ministers were members of a CIA backed alliance of warlords fighting the rising Islamic Courts Union (ICU) in Mogadishu. After the ICU defeated the warlords, the TFG fired the ministers who had been a part of the alliance. In Baidoa, the TFG enjoyed the support of the warlord who controlled the city and had earlier prevented the government from entering. The TFG was dysfunctional from its inception and "failed miserably" as a functioning government.

The new Transitional Federal Government under the Presidency of Abdullahi Yusuf Ahmed wished to establish authority over Somalia, and sought assistance from Ethiopian troops who also sought to forcibly depose the Islamic Courts Union. In a move widely opposed by many TFG parliamentarians, President Yusuf made the widely unpopular decision to invite Ethiopian troops to prop up his administration. As an institution, the TFG did not consent to or approve of the Ethiopian military intervention. No parliamentary approval was given for a decision openly opposed by a significant portion of the government. During late July 2006, over a dozen TFG parliamentarians resigned in protest of the Ethiopian invasion, and by August 2006 the government was mired in a severe internal crisis and at risk of collapse.

During November 2006, several top ranking members of the TFG led by Sharif Hassan Sheikh Aden sent a delegation to Mogadishu to resume talks with the ICU, which Aden had reported to be progressing well. According to an Africa Intelligence report, "...precisely at that moment, President Abdullahi Yusuf, who has been close to Ethiopia for many years, excluded all negotiation with the UIC and called for forceful action against the Somalian Islamists." Historian Gweyne Dwer observed that large numbers of TFG members resigned as it became clear that the government had fallen under the complete sway of the Ethiopians and Central Intelligence Agency. Government soldiers began defecting over to the ICU. Professor Abdi Ismail Samatar observes that the Ethiopians had complete control over the TFG headquarters and had begun arming warlords defeated by the ICU.

On 3 December 2006, the TFG speaker of parliament Sharif Hassan Adan announced that Ethiopia had deployed a "massive military force" of 15,000 troops. Adan sought to reconcile with the ICU and stated that the blame for any war in Somalia lay on the Ethiopian government led by Meles Zenawi. In the last days of December 2006, the Ethiopian National Defence Force seized control of Mogadishu and installed the TFG, who had announced that the rivaling Islamic forces had been defeated and that no further major fighting was expected to take place. The TFG proved to be incapable of controlling Mogadishu, or of surviving on its own without Ethiopian troops. Most of the population of the city opposed the TFG and perceived it to be a puppet government. The military occupation was marked by indiscriminate violence towards civilians by the Ethiopian army and TFG. Homes were raided in search of ICU loyalists, with lootings, beatings and executions of suspected collaborators commonplace. The Islamic Courts Union splintered into several different insurgent factions. Some of the more radical elements, including Al-Shabaab, regrouped to wage an insurgency against the Ethiopian military presence in Somalia and the TFG.

Emergence of insurgency The TFG and the Ethiopians soon began to run into increasing opposition from remnants of the Islamic Courts Union, and despite moving much of the government in January to Mogadishu, many ministers chose to remain in Baidoa. Several high ranking figures of the TFG, including ex-speaker Sharif Hassan Sheikh Aden, were fired for calling for a compromise with the ICU. Members of the TFG present in Nairobi were threatened with expulsion by the Kenyan foreign minister after they publicly called for the withdrawal of Ethiopian troops. In the year after the invasion, the TFG parliament was purged of opposition figures and represented a narrow coalition of Somali society. For much of 2007 the government was besieged and dysfunctional, with virtually no progress being made for political transition. It was plagued with charges of corruption and abuse, including the obstruction of relief aid deliveries. The TFG security forces, both police and military, were notoriously undisciplined, committing numerous acts of murder and sexual violence against civilians. Internal hostilities within the security forces even resulted in shootouts between units as they fought over control of revenue from illegal checkpoints.