Burkina Faso President, Blaise Compaore, has announced his resignation, following violent protests at his attempt to extend his 27-year rule.
Compaore issued a statement saying the presidency was now vacant and urging elections within 90 days.
Military chief, Honore Traore, said he had taken over as head of state “in line with constitutional measures.”
Crowds danced and cheered in the capital, Ouagadougou, after Compaore’s resignation was broadcast.
On Thursday, protesters angry at his attempt to amend the constitution had set fire to parliament and government buildings.
Compaore had earlier vowed to remain in power until a transitional government completed its work in 2015, although he had agreed not to seek another term.
However, the opposition continued to demand that he resign. A key leader, Zephirin Diabre, urged protesters to occupy public spaces.
Compaore’s statement, read on television said “In order to preserve the democratic gains, as well as social peace, I declare a power vacuum to allow the establishment of a transition leading to free and fair elections within a maximum of 90 days.”
He added, “For my part, I think I have fulfilled my duty.”
After the resignation, Diabre said. “We are all relieved by what is happening and this is our demand for so long so we are very happy and we need to work on the transition to take care of our country.”
But reports say that many demonstrators see Traore as too close to the ousted president. He was once Compaore’s aide de camp.
In a statement, Traore said in line with constitutional measures and given the power vacuum, he will assume his responsibilities as head of state.
“I undertake a solemn engagement to proceed without delay with consultations with all parties in the country so as to start the process of returning to the constitutional order as soon as possible,” he said.