 The Transitional Federal Government ( TFG ) was the internationally recognized central government of Somalia between 2004 and 2012 . Based in Mogadishu , it constituted the executive branch of government . 
