Al-Shabaab opposed the Ethiopian military's presence in Somalia and continued an insurgency against the TFG. Throughout 2007 and 2008, Al-Shabaab scored military victories, seizing control of key towns and ports in both central and southern Somalia. By January 2009, Al-Shabaab and other militias had forced the Ethiopian troops to retreat, leaving behind an under-equipped African Union peacekeeping force to assist the Transitional Federal Government's troops.