Gabonese President Ali Bongo has appeared in a video calling for his "friends" to "make noise" after military officers in the oil-rich central African state staged an attempted coup.
"I'm sending a message to all friends that we have all over the world to tell them to make noise for... the people here who arrested me and my family," he said in English, in the clip posted on social media.
Mr Bongo, who was recorded while seated, said his son was in one location while his wife was "in another place".
"I'm at the residence and nothing is happening, I don't know what's going on, I'm calling (on) you to make noise," he said.
Mr Bongo is being detained at home, and one of his sons has been arrested for "treason," military officers said, hours after they announced they had overthrown the government.
"President Ali Bongo is under house arrest, surrounded by his family and doctors," they said in a statement read out on state television.
Mr Bongo's son and close adviser Noureddin Bongo Valentin, his chief of staff Ian Ghislain Ngoulou as well as his deputy, two other presidential advisers and the two top officials in the ruling Gabonese Democratic Party (PDG) "have been arrested," a military leader said.
They are accused of treason, embezzlement, corruption and falsifying the president's signature, among other allegations, he said.
The African Union's Peace and Security Council Chair Willy Nyamitwe said that he had urgently assembled a meeting with Burundi, Senegal and Cameroon to analyse the situation in Gabon, where he said a coup attempt was under way.
China has called on Mr Bongo's safety to be guaranteed, while former colonial power France has said it is watching developments in Gabon "with the greatest attention".
Senior Gabonese military officers appeared on national television in the early hours of this morning and said they had taken power, after the state election body announced Mr Bongo had won a third term.
The officers said on television channel Gabon 24 that they represented all Gabonese security and defence forces. They said the election results were cancelled, all borders were closed until further notice and state institutions were dissolved.
Gunfire could be heard in the capital Libreville after the statement announcing the ousting of Mr Bongo, whose family have ruled the country that produces oil and manganese for more than half a century, a Reuters reporter said.
French Prime Minister Élisabeth Borne said France, Gabon's former colonial ruler, was following the situation closely.
If successful, the coup would be the eighth in West and Central Africa since 2020. The latest one, in Niger, was in July. Military officers have also seized power in Mali, Guinea, Burkina Faso, and Chad.
Niger and other Sahel countries have been battling Islamist insurgencies that have eroded faith in democratic governments. Gabon, which lies further south on the Atlantic coast, is not facing the same challenges, but a coup would suggest a further sign of democratic backsliding in a volatile region.
Mr Bongo's family has ruled the oil-producing but poor nation for 56 years. His detractors say he has done little to channel its oil and other wealth towards the population of some 2.3 million people, a third of whom live in poverty.
"Today the country is undergoing a severe institutional, political, economic, and social crisis," the officers said in a statement, saying the 26 August election lacked transparency and credibility.
"In the name of the Gabonese people ... we have decided to defend the peace by putting an end to the current regime," they said.
One officer read the joint statement, surrounded by a dozen or so others in military fatigues and berets.
The servicemen introduced themselves as members of The Committee of Transition and the Restoration of Institutions.
The state institutions they declared dissolved included the government, the senate, the national assembly, the constitutional court, and the election body.
There had been fears of unrest after Saturday's presidential, parliamentary, and legislative elections, which saw Mr Bongo seeking a third term against 18 challengers. His team has rejected allegations of fraud.
But a lack of international observers, the suspension of some foreign broadcasts and the authorities' decision to cut internet service and impose a night-time curfew nationwide after the poll had raised concerns about the transparency of the electoral process.
As the sun rose, the streets of the capital Libreville appeared calm, and crowds of curious residents gathered outside. Some cheered as a group of soldiers drove past in a vehicle, but there was no sign of widespread celebration or alarm.
"If this is confirmed, it is another military coup which increases instability in the whole region," said the European Union's foreign policy chief Josep Borrell.
Several hours after the officers' announcement, internet access appeared to be restored for the first time since Saturday's vote, a Reuters reporter said.
The Netblocks Internet observatory confirmed there had been some restoration of connectivity nationwide.
The Gabonese Election Centre announced today that Mr Bongo won the election with 64.27% of the vote, and his main challenger, Albert Ondo Ossa, had come in second with 30.77%.
Mr Bongo, 64, succeeded his father, Omar, as president in 2009 and was re-elected in a disputed election in 2016.
The government said the web blackout and curfew were necessary to prevent the spread of fake news and to protect public safety. The state had also shut down the internet for several days after Mr Bongo's 2016 election win, which provoked violent protests that saw the parliament building torched.
Gabon foiled an attempted military coup in January 2019 after soldiers briefly seized the state radio station and broadcast a message saying Mr Bongo, who had suffered a stroke months earlier, was no longer fit for office.
The situation was restored hours later after two of the suspected coup plotters were killed and others arrested.
Gabon's dollar-denominated bonds fell by nearly 4 cents today, and French miner Eramet, which has large manganese operations in Gabon, said it had halted operations.