France's ambassador in Niger has flown out of the country a month after military rulers ordered his expulsion.
The two countries had been close allies until President Mohamed Bazoum was ousted in July.
France has refused to recognise the coup leaders and had ignored the order to withdraw its envoy.
READ ALSO: 'France takes us for idiots' - Inside coup-hit Niger
On Sunday, President Emmanuel Macron said ambassador Sylvain Itté would leave within days.
He also said all French troops will withdraw from Niger by the end of the year.
READ ALSO: Niger coup: Macron says France to withdraw troops and ambassador