Two soldiers who took part in Monday's attempted coup in Gabon have been killed, the president's office says.
They were shot dead after security officers stormed the national radio building which they had taken over. Three others are under arrest.
The junior officers claimed they seized power "to restore democracy" in oil-rich Gabon, where the ailing leader's family has ruled for 50 years.
"The situation is under control," the presidency statement said.
Coup leader Lt Kelly Ondo Obiang, was on the run for a brief period, before being found hiding under a bed,


"The situation is calm. The gendarmes who are often stationed there have taken control of the entire area around the radio and TV headquarters, so everything is back to normal", said Guy-Bertrand Mapangou, a spokesman for the government of the west African country.
Mr Mapangou said that the army generals, civil society and opposition leaders mentioned in the rebels' statement as potential supporters would be investigated.
The spokesman for Gabon's main opposition party has however denied any knowledge of a link with the rebel soldiers.
Claye Martial Obame Akué said that he wasn't aware of any link between the soldiers and Jean Ping - the leader of the Coalition for the New Republic, RFI reports.
Current leader Ali Bongo, who has been out of the country for two months, succeeded his father Omar Bongo as president in 2009. He narrowly won re-election in 2016 in a poll marred by violence and accusations of fraud.
Rebel soldiers took control of the national radio station in the capital, Libreville, at 04:30 local time (03:30 GMT) to read a short statement announcing a "National Restoration Council".
They entered the station after "neutralising" gendarmes in front of the building before making their broadcast, news agency AFP reports, quoting a statement from the presidency.
The security services later stormed the building and shot dead two rebel soldiers and freed journalists who were being held hostage, the report says.
Authorities had earlier said five rebels had entered the building and four had been arrested. A later statement said six rebels were involved while other reports put the number at seven.
In a video circulating on social media, three young soldiers can be seen in a radio studio wearing military fatigues and holding guns.
Lt Kelly Ondo Obiang, who said he represented a group called the Patriotic Movement of the Defence and Security Forces of Gabon, specifically appealed to young people to "take charge of their destiny".
The insurgents called on soldiers to take control of the transport system, ammunition reserves and airports "in the interests of the nation".
BBC Afrique's Firmain Eric Mbadinga says the coup attempt came as a huge surprise. The army has always been seen as loyal to the Bongo family, he says, because it is dominated by the presidential guard, who mostly come from Mr Bongo's home region.
Most of the capital remains calm, an eyewitness told the Reuters news agency. The French government and the African Union condemned the attempted coup.
The president's term in office has been overshadowed by a long-running French investigation into allegations of embezzlement involving the Bongo family's assets.
Mr Bongo reportedly suffered a stroke in October in Saudi Arabia and is currently receiving treatment in Morocco.
He sought to put an end to the rumours about his health with a televised new year message in which he said he was feeling fine.
Soldiers said they had been disappointed by the message, calling it "a pitiful sight" and a "relentless attempt to cling onto power."
- an organisation whose Gabonese chapter he led as lodge master.
But his supporters point to his role in attempting to diversify Gabon's oil-dependent economy, in the face of declining oil reserves.
President Trump has deployed soldiers to Gabon to protect US citizens amid fears of violent protests in the neighbouring Democratic Republic of Congo following its presidential election.
Source: bbc.com