An army captain in Burkina Faso has announced on national television that he has ousted military leader Lt Col Paul-Henri Damiba.
Ibrahim Traore cited Lt Col Damiba's inability to deal with an Islamist insurgency as the reason.
He also announced that borders were closed indefinitely and all political activities were suspended.
Lt Col Damiba's junta overthrew an elected government in January, citing a failure to halt Islamist attacks.
But his administration has also not been able to quell the jihadist violence. On Monday, 11 soldiers were killed when they were escorting a convoy of civilian vehicles in the north of the country.
Earlier on Friday, Lt Col Damiba urged the population to remain calm after heavy gunfire was heard in parts of the capital.
More than 20 armed soldiers - most with their faces covered - appeared on state TV shortly before 20:00 local time.
"Faced with the deteriorating situation, we tried several times to get Damiba to refocus the transition on the security question," said the statement signed by Traore.
"Damiba's actions gradually convinced us that his ambitions were diverting away from what we set out to do. We decided this day to remove Damiba," it said.
A curfew from 21:00 to 05:00 was also announced.
Lt Col Damiba's whereabouts are not known.
The United States said it was "deeply concerned" by events in Burkina Faso and encouraged its citizens to limit movements in the country.
"We call for a return to calm and restraint by all actors," a State Department spokesperson said.
The Economic Community of West African States (ECOWAS) condemned the move, stating it "reaffirms its unreserved opposition to any taking or maintaining of the power by unconstitutional means".
Before dawn, shots and explosions were heard in the capital, Ouagadougou, some of them coming from near the presidential palace and main military barracks.
After sunrise, the normally bustling city was largely deserted, with soldiers on the streets blocking some roads and guarding key strategic points.
State television had stopped broadcasting and more gunfire was heard later in the day.
Lt Col Damiba said there was a "confused situation" created by "mood swings" among some soldiers as rumours of a coup intensified.
Urging people to remain calm and avoid social media speculation, the military leader said there were "negotiations under way to bring back calm and serenity".
In January, Lt Col Damiba ousted President Roch Kaboré, saying that he had failed to deal with growing militant Islamist violence.
"We have more than what it takes to win this war," the junta chief said when he was sworn in as president in February.
But many citizens do not feel any safer and there have been protests in different parts of the country this week.
On Friday afternoon, some protesters took to the capital's streets calling for the removal of Lt Col Damiba.
The Islamist insurgency broke out in Burkina Faso in 2015, leaving thousands dead and forcing an estimated two million people from their homes.
The country has experienced eight successful coups since independence in 1960.
Latest Stories
-
Re-collation: Court sets Dec. 27 to hear NDC’s suit against EC
12 minutes -
Let’s remain positive, optimistic, and with calmness, rebrand our party – Afenyo Markin
48 minutes -
L’aîné HR celebrates 30 years of excellence in HR management in Ghana
1 hour -
Corporate Wellness: Elegant Homes emphasizes impact of Annual Health and Family Fun Day
2 hours -
BoG issues bancassurance directives to stakeholders in financial sector; warns of sanctions
2 hours -
African Paralympic Committee President sends festive greetings to fraternity
3 hours -
Ghana-Russia Centre holds its first corporate social responsibility event in Ghana
3 hours -
Mozambique’s opposition leader vows to install himself as president
3 hours -
‘Politics will come and go’ – Afenyo-Markin calls for national development
3 hours -
We thank God for the peace we have in the country – Afenyo Markin
3 hours -
‘What binds us is greater than what divides us’ – AG Godfred Dame
5 hours -
Level 100 university student remanded in custody for defilement
5 hours -
Joe Nana Adarkwa quits Ampem Darkoa Ladies after nine years
5 hours -
Passenger plane flying from Azerbaijan to Russia crashes in Kazakhstan with many feared dead
6 hours -
Blake Lively’s claims put spotlight on ‘hostile’ Hollywood tactics
7 hours