Burkina Faso's President Blaise Compaore has announced his resignation, following violent protests at his attempt to extend his 27-year rule.
Mr Compaore issued a statement saying the presidency was now vacant.
An army spokesman also broke the news to cheering demonstrators in the capital, Ouagadougou.
On Thursday, protesters had set fire to parliament and government buildings in anger at Mr Compaore's attempt to amend the constitution.
Following the protests, Mr Compaore said he had agreed not to seek another term, but that he would remain in power until a transitional government had completed its work in 2015.
However, the opposition continued to demand that he resign. Its leader, Zephirin Diabre, urged protesters to occupy public spaces.
There were cheers when the army spokesman told the crowd gathered in front of army headquarters on Friday that Mr Compaore had left office, AFP news agency reports.