Central Africa Republic's interim President Michel Djotodia has resigned at a regional summit aimed at ending violence that has engulfed the country.
CAR's entire transitional assembly is attending the meeting in Chad, organised by regional leaders.
PM Nicolas Tiengaye has also resigned.
Mr Djotodia, CAR's first Muslim leader, seized power last year. Since then 20% of the population have fled their homes amid fighting between Christian and Muslim militias.
The UN has warned of an impending humanitarian disaster.
Since December and the arrival of more regional peacekeepers and French troops, 1,000 people have died in sectarian clashes.
Many villages are deserted and in the past month the number of those who have fled their homes has doubled - including almost half of those living in the capital, Bangui.
Following the announcement from Chad, there were jubilant scenes in Bangui.
Carine Gbegbe, who has been living in a displacement camp, told Associated Press: "Finally we are free. We are going to return home at last."
French tanks were quickly deployed around the presidential palace.
French Defence Minister Jean-Yves Le Drian called for a replacement for Mr Djotodia "as soon as possible".
Flown in
Mr Djotodia's resignation was made in a statement by the 10-nation Economic Community of Central African States (Eccas).
Members of CAR's National Transitional Council (CNT) had been flown in at short notice to decide the leadership of their nation.
The lawmakers met regional leaders while Mr Djotodia held separate talks with allies from his former Seleka rebel alliance, AFP reported.
Under a deal brokered by regional powers last year, the CNT was charged with choosing a transitional leader to take CAR to elections due at the end of 2014. It formally elected Mr Djotodia to his position as interim president last April.
Seleka seized power last March overthrowing the then-President Francois Bozize, from CAR's majority Christian population.
Although Mr Djotodia officially disbanded the Seleka rebels, he has proved unable to keep them in check.
Their actions have prompted Christians to form vigilante groups, sparking a deadly cycle of revenge attacks.
The African Union now has some 4,000 peacekeepers in the country and France has deployed 1,600 troops to try to restore peace.
Latest Stories
-
Ejura Sekyeredumase MP demands autopsy on resident who died in Police custody
29 minutes -
Kusaas Diaspora Union launched to spearhead global unity, development
2 hours -
Bright Simmons: Mahama’s reduction of ministries to 23 amid calls for efficiency, cost-cutting
2 hours -
Maxwell Hanson seeks apology and compensation from Anim Addo over defamation claims
3 hours -
We listen, we don’t judge: What they don’t tell you about being an entrepreneur
3 hours -
Mahama orders Lands Commission to halt sale of State Lands
5 hours -
Chiesa on target as Liverpool ease past Accrington Stanley
5 hours -
Everton appoint Moyes as manager for second time
5 hours -
WACCE describes 2024 elections as one of the violent, deadliest in the 4th Republic
5 hours -
Volta Region movie industry stagnated, needs investors to push – stakeholders
5 hours -
Petition against Chief Justice reflects broader public concerns about Judiciary – Joyce Bawa
5 hours -
Northern Ghana won’t experience fuel shortage – NPA assures
5 hours -
Calm restored in Ejura after mob attack on Police Station
5 hours -
18-year-old herdsman remanded over murder of younger brother
5 hours -
GSTEP 2025 Challenge: Organisers seek to support gov’t efforts to tackle youth unemployment
7 hours