On Sunday , Ethiopian troops completed their pullout from Somalia after fighting the Islamists for more than two years in support of the Somali government .