The Shebab and other militia groups have tried to exploit the power vacuum in Somalia, which has had no effective central authority since plunging into war 21 years ago when president Mohamed Siad Barre was toppled.