THE US decision to send Ethiopian troops into Somalia in 2006 was one of the stupidest moves in a very stupid decade. Last week, some of the chickens spawned by that decision came home to roost.
Last Monday, the al-Shabaab militia launched a â€œmassive warâ€ against the 6,000 African Union peacekeepers who are protecting the so-called government of Somalia.
In reality, however, all it actually governs is a few dozen blocks in Mogadishu, and its members are just a group of Somali warlords and clan leaders who proclaimed themselves to be the â€œTransitional Federal Governmentâ€ (TFG) in 2004.
Six â€œmembers of parliamentâ€ were among the 80 people killed when an al-Shabaab suicide squad stormed the al-Muna hotel in Mogadishu last Tuesday, but there will be no by-elections to replace them. They were never elected in the first place.
The TFG made no progress in reuniting the country, and now its surviving members sit surrounded by al-Shabaab fighters who control most of the sprawling capital.
Southern Somalia has been trapped in an unending civil war since the last real government collapsed in 1991, but the current round of killing was triggered when the US invited Ethiopia to invade the country in 2006.
This was a bit high-handed, especially since Ethiopia was Somaliaâ€™s traditional enemy, but Washingtonâ€™s aim was to destroy the â€œIslamic Courts â€ in Somalia.
The TFG failed utterly to impose its authority and restore order in Somalia, but the Islamic Courts Union took a different approach.
Its roots were in the merchant class in Mogadishu, who simply wanted a safer environment to do business in, and they understood that Islam was the only common ground on which all of the countryâ€™s fissiparous clans and militias might be brought together again.
The Islamic courts, applying shariah law, were the instrument by which the society would gradually be brought back under the rule of law â€“ and for about six months, it worked amazingly well.
The zones of peace and order spread throughout southern Somalia, the epicentre of the fighting, and trade and employment revived. A made-in-Somalia solution had spontaneously emerged from the chaos.
Inevitably, some of the younger supporters of the Islamic Courts movement enjoyed ranting in public about the virtues of al-Qaeda, the wickedness of Americans, and other matters of which they knew little.
Almost every popular movement has a radical youth wing that specialises in saying stupid and provocative things. It is the job of the adults, inside and outside the organisation, to contain their excesses and not to panic.
Alas, the US panicked, or at least its intelligence agencies did. The mere word â€œIslamicâ€ set off alarm bells in the Bush administration, which had the lamentable habit of shooting first and thinking later.
Washington, therefore, concluded that the Islamic Courts Union, Somaliaâ€™s best hope of escaping from perpetual civil war, was an enemy that must be removed. Since the TFG was clearly not up to that task, Washington asked Ethiopia, Somaliaâ€™s old enemy, to provide the necessary troops.
A prostrate and divided Somalia was clearly in Ethiopiaâ€™s long-term strategic interest, so why not? Especially since the US financed the whole operation.
The Ethiopian troops invaded in late 2006 and the Islamic Courts Union was destroyed, leaving the field clear for the movementâ€™s radical youth wing, al-Shabaab (The Youth).
Attacks on both the TFG and the Ethiopians multiplied, and civil war and chaos returned to Mogadishu. After two years the Ethiopians, having thoroughly wrecked any prospect of peace in Somalia, pulled their troops out and went home.
Since late 2008, only the over 6,000 African Union troops in the country have kept alive the fiction of a Somali government friendly to the US, but al-Shabaab has now gone on the offensive.
The two suicide bombs that killed 74 people in Kampala last month were a warning to Ugandans to bring their troops home from Somalia, and al-Shabaab is now trying to overrun the last small patch of Somali territory still held by the TFG.
The northern half of former Somalia, ruled by the breakaway states of Puntland and Somaliland, is already at peace and will remain so.
Southern Somalia will probably have to endure more years of violence and despair because Washington never understood that the Islamic Courts Union could be its tacit ally in stabilising Somalia.
But nothing particularly bad will happen to anybody except Somalis, so that is all right.
US, al-Shabaab and Somalia dilemma