Earlier on Monday, a group of soldiers sought to take power in Gabon while ailing president is abroad, but the government declared the bid had failed and the rebels had been arrested.
Soldiers burst into state radio offices at dawn and called on the public to “rise up”, an appeal made as President Ali Bongo remained in Morocco after suffering a stroke last year.
Shots were heard around state broadcasting headquarters in Libreville, capital of the oil-rich West African nation, at about the same time as the message was read at 6:30 am (0530 GMT).
But within a few hours, government spokesman Guy-Bertrand Mapangou told AFP: “Calm has returned, the situation is under control.”
Of the five who entered the radio station, “four have been arrested and one is on the run,” according to Mapangou.
Security forces have been deployed in the capital and will remain there over the coming days in order to maintain order, he said.
The gunfire, he said, was used to control a crowd.
The elite Republican Guard was deployed around the building and armoured vehicles blocked access to the area, an AFP correspondent saw.
In a rundown district nearby, dozens of young people torched a car and set fire to tyres, while the security forces fired teargas to try to disperse them.
The dramatic developments came as Bongo is living at a private residence in the Moroccan capital Rabat after suffering a stroke. He made a televised speech on New Year’s Eve but has not been in the country since October.
A message was read on state radio by a person who identified himself as Lieutenant Ondo Obiang Kelly, the deputy commander of the Republican Guard and head of a previously unknown group, the Patriotic Youth Movement of the Gabonese Defence and Security Forces (MPJFDS).
He announced a “national restoration council” would be formed “to guarantee a democratic transition for the Gabonese people”.
The movement “calls on all young people from forces for the defence and security and Gabonese young people to join us,” the officer said.
Three soldiers wearing the green beret of the Republican Guard, two of them carrying assault rifles, were visible on a video of the speech released on social media.