SANAA, Yemen (AP) -- Yemen's president resigned on Thursday under pressure from Shiite rebels who seized the capital in September and have confined the embattled leader to his home for the past two days.
Presidential officials said Abed Rabbo Mansour Hadi, a close U.S. ally in the fight against Yemen's powerful al-Qaida affiliate, submitted his resignation to parliament after being pressured to make further concessions to the rebels, known as Houthis, who are widely believed to be backed by Iran, charges they deny.
Hadi had earlier pledged political concessions in return for the rebels withdrawing from his house and the nearby presidential palace following days of clashes, but Houthi fighters remained deployed around both buildings throughout Thursday.
FILE - In this Tuesday, Jan, 21. 2014, file photo provided by Yemen's Defense Ministry, Yemeni President Abed Rabbo Mansour Hadi speaks during the closing session of the national dialogue conference in Sanaa, Yemen. Hadi submited his resignation Thursday, Jan. 22, 2015, over a standoff with Shiite rebels who control the capital. (AP Photo/Yemen's Defense Ministry, File)
Military officials close to the president said Hadi resigned after the Houthis pressured him to give a televised speech to calm the streets. They said the Houthis also demanded appointments in his own office, the Defense Ministry and provincial capitals, demands Hadi rejected.
The officials spoke on condition of anonymity because they were not authorized to speak to the media.
Yemeni law says the parliament speaker -- Yahia al-Rai, a close ally of ousted President Ali Abdullah Saleh -- would assume the presidency, but the Houthis effectively control the capital, several other cities and state institutions.
The Yemeni government submitted its resignation earlier on Thursday.
Prime Minister Khaled Bahah's resignation came as U.N. envoy Jamal Benomar met with representatives from the Houthis and other political factions to try to implement a deal reached Wednesday to end the crisis.
Under the agreement -- struck while the rebels confined Hadi in his private home -- the group's militias were to withdraw from the presidential palace and key areas of the capital they have overrun in recent days in return for political concessions.
Bahah's technocratic government was formed in November as part of an earlier United Nations-brokered peace deal after the Houthis overran the capital in September.
Bahah, a political independent, posted his resignation on his official Facebook page, saying he had held office in "very complicated circumstances." He says he resigned in order to "avoid being dragged into an abyss of unconstructive policies based on no law."
"We don't want to be a party to what is happening or will happen," he added.