Nigerien soldiers have announced taking over power from President Mohamed Bazoum, who has been in detention since the early hours of Wednesday.
The soldiers announced the coup in televised broadcast in the early hours of Thursday.
They claimed to have seized power because of deteriorating security situation as well as bad social and economic management.
They had earlier cordoned off office and residence of Bazoum with military vehicles.
Crowds had taken to the streets of the capital city, Niamey, in support of the president, but soldiers fired shots to disperse them.
The Economic Community of West African States (ECOWAS) had intervened by sending the President of Benin, Patrice Talon, to the country.
Talon proceeded after meeting with President Bola Tinubu, ECOWAS Chairman, in Abuja.
Tinubu had earlier condemned the development, warning that the regional body, as well as the global community, would not condone disruption of constitutional order within the sub-region.