Audio By Carbonatix
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
-
297 GAF personnel receive flood reliefÂ
1 minute -
GIPA calls for infrastructure expansion to address post-harvest losses
3 minutes -
Fifa scraps controversial World Cup investment plan
6 hours -
WAFCON 2026: South Africa fight back to earn dramatic draw against CĂ´te d’Ivoire
6 hours -
We should not over-commercialise football – Eric Alagidede
6 hours -
GFA should reject FIFA’s World Cup sale proposal – Eric Alagidede
6 hours -
Ghanaian woman jailed 5 years in US for $1.6million romance scam
7 hours -
Parliament passes Energy Sector Levies Amendment Bill to tighten fuel subsidy regime
7 hours -
Unique by Design project launched to promote disability inclusion in Ghana’s fashion industry
9 hours -
Joseph Paul Amoah finishes seventh in Commonwealth Games 200m final
9 hours -
Mahama urges Dagbon Regent to preserve peace and continue late Ya-Na’s development legacy
9 hours -
RANA asks Parliament to restrict MP Yakubu Mohammed child engagements until safeguarding training is completed
9 hours -
Rights group warns against exposing schoolgirl to fallout from MP’s comment
10 hours -
Family of Bukom crash victim visits Gender Minister ahead of funeral
10 hours -
An apology is not a safeguarding policy – RANA demands Parliament’s action over MP’s comment to schoolgirl
10 hours