(CNN) -- Somalia's transitional president has resigned amid a power struggle with the African nation's prime minister and parliament, sources told CNN on Monday.



Abdullahi Yusuf Ahmed tried to fire his PM this month but later lost a confidence vote.



Abdullahi Yusuf Ahmed announced his resignation Monday before parliament in Baidoa.



Ahmed's resignation is the latest turn in the political crisis in Somalia, which is already struggling with an Islamist revolt, a refugee crisis and rampant lawlessness that has fueled a wave of piracy off the Horn of Africa.



Somalia has been without an effective central government since 1991. The U.N.-backed transitional government has the support of Ethiopian troops that ousted an Islamist government at the end of 2006, but it controls little of the country outside the southwestern city of Baidoa.



Ahmed attempted to fire his prime minister, Nur Hassan Hussein, earlier this month for being ineffective. But Hussein said the president did not have the power to fire him, and the vast majority of members of parliament backed Hussein in a vote of confidence.



Kenya -- a major player in international efforts to stabilize Somalia -- warned that the government crisis endangered peace efforts and singled out Ahmed over his attempt to sack Hassan.
What has Kenya warned about the Somali government? Which other country warned that Somali government crisis is endangering peace efforts? The country struggled with which religious revolt? What country's transitional president resigns? What happened to Somalias transitional president? What did Kenya do? What is the country struggling with? Which country's transitional president resigns amid power struggle with PM, parliament?
endangered peace efforts and singled out Ahmed over his attempt to sack Hassan. Kenya Islamist Somalia's resigned amid a power struggle with the African nation's warned that the government crisis endangered peace efforts and singled out Ahmed over his attempt to sack Hassan. an Islamist revolt, a refugee crisis and rampant lawlessness that has fueled a wave of piracy off the Horn of Africa. Somalia's
question: What has Kenya warned about the Somali government?, answer: endangered peace efforts and singled out Ahmed over his attempt to sack Hassan. | question: Which other country warned that Somali government crisis is endangering peace efforts?, answer: Kenya | question: The country struggled with which religious revolt?, answer: Islamist | question: What country's transitional president resigns?, answer: Somalia's | question: What happened to Somalias transitional president?, answer: resigned amid a power struggle with the African nation's | question: What did Kenya do?, answer: warned that the government crisis endangered peace efforts and singled out Ahmed over his attempt to sack Hassan. | question: What is the country struggling with?, answer: an Islamist revolt, a refugee crisis and rampant lawlessness that has fueled a wave of piracy off the Horn of Africa. | question: Which country's transitional president resigns amid power struggle with PM, parliament?, answer: Somalia's