The exiled opposition alliance is based in Eritrea and includes members of the Islamic Courts Union , which controlled much of Somalia in 2006 before being ousted by government and Ethiopian troops .