The transitional federal government (TFG) was the government of Somalia between 2004 and 2012. Established 2004 in Djibouti through various international conferences, it was an attempt to restore national institutions to the country after the 1991 collapse of the Siad Barre government and the ensuing Somali Civil War. There were two distinct phases of the transitional government: the transitional national government (TNG) and the transitional federal government: