Burkina Faso's interim President Michel Kafando has said he is back in charge and civilian rule restored after last week's military takeover.
His announcement came as coup leader Gen Gilbert Diendere went to welcome several African leaders arriving to oversee the transfer of power.
His presidential guard agreed to a deal overnight with the regular army to avoid violence.
They pledged to return to barracks and the army to withdraw from the capital.
The presidential guard (RSP) is loyal to Blaise Compaore, the country's long-time ruler who was ousted in a popular uprising last year.
The elite troops installed Gen Diendere as the leader last week - a month before elections had been due in the landlocked country.
The army on Monday ordered the coup leaders to step down or be ousted by force, raising the spectre of a civil war.
At least 10 people have been killed and more than 100 injured in clashes between the RSP and protesters.
Mogho Naba, the traditional ruler king of the Mossi ethnic group, witnessed the peace deal
"Dear compatriots, I am free of my movements and resuming service. The transition is back and is resuming the exercise of power," Mr Kafando told journalists.
However, he said he was not fully committed to the plan, put together on Tuesday by West African presidents at an emergency meeting of the regional bloc Ecowas.
It is not clear whether the mediators' peace plan includes key RSP demands for an amnesty for the coup leaders and the lifting of an electoral ban on those connected to Mr Compaore
Latest Stories
-
Kwesi Nyantakyi Esq: How the new Ministry for Sports & Recreation can transform the Youth of Ghana
2 hours -
Barca fights back to beat Real Madrid 5-2 for Spanish Super Cup success
3 hours -
Photos: Mahama joins National Prayer and Thanksgiving Service
4 hours -
Mahama reaffirms commitment to education reform, tackles immediate feeding challenges in SHSs
4 hours -
Vetting of ministerial nominees begins on Monday, January 13
4 hours -
Ghanaian, Prof Wisdom Tettey is Carleton University’s 17th President and Vice-Chancellor in Canada
5 hours -
National Cathedral can be built at a reasonable cost without state funds – Mahama
5 hours -
13-year-old girl survives alleged ritual murder attempt in Eastern Region
5 hours -
Anti-corruption campaigner lauds ORAL, commends Mahama
5 hours -
Türkish Ambassador to Ghana congratulates Vice President Opoku-Agyemang
5 hours -
GUTA dissociates itself from its president’s comment urging gov’t to retain E-levy
5 hours -
My victory is the manifestation of the will of God, says Mahama
6 hours -
We’ll strengthen the fight against corruption – Mahama
6 hours -
National Cathedral project expenditure to be probed soon – Mahama
6 hours -
Senyo Amponsah thrills audience at ‘Dzidudua’ concert
6 hours