France is set to withdraw its ambassador and end all military cooperation with Niger republic following a coup.

French President, Emmanuel Macron said all its ambassador and several diplomats will return to France, adding that military cooperation was over and French troops would leave in the months to come.

The decision is coming following months of hostility and protests against the French presence in the country, with regular demonstrations in the capital Niamey.

Macron explained that he still regarded Mohamed Bazoum, currently held prisoner by the coup leaders, as the country’s sole legitimate authority, and had informed him of his decision.

A military junta seized Niger on July 26, deposing President Mohamed Bazoum.