The jockeying for power inside Somalia took a potentially ominous turn over the weekend as a Muslim sheik whom the Bush administration has linked to terrorism emerged as the leader of the Islamic militants who seized control of the capital , Mogadishu , earlier this month .