French soldiers from Operation Barkhane stand outside their armored personnel carrier during a sandstorm in Inat, Mali, May 26, 2016. REUTERS-Media Coulibaly

President Emmanuel Macron said on Thursday France’s operation battling Islamist militants in the Sahel region of West Africa would come to an end with troops now operating as part of broader international efforts in the region.

France has hailed some success against Sahel militants in recent months but the situation is extremely fragile and Paris has grown frustrated with no apparent end in sight to its operations and political turmoil especially in Mali.

“The time has come to begin a deep transformation of our military presence in the Sahel,” Macron told a news conference, referring to the Barkhane operation, which has some 5,100 soldiers across the region.

The decision comes days after Malian army Colonel Assimi Goita took power following his overthrow of a second president in nine months and growing criticism about some governments negotiating with militants.

Macron earlier this month described the Mali move as a “coup within a coup” and temporarily suspended joint operations between French and Malian troops on June 3.

The decision on the French troop cutback was made during a defence cabinet meeting on Wednesday, two sources told Reuters earlier on Thursday.

Macron said details of the changes would be finalised by the end of June after consultations with the United States, European states involved in the region and the five Sahel countries – Mali, Niger, Chad, Burkina Faso and Mauritania.

He said several hundred French special forces would work alongside other European countries in the Takuba Task Force fighting militants in the Sahel alongside the Malian and Nigerian armies.

Other forces would work as part of training operations and as part of international missions already operating in the region.

“The lasting presence of France’s external operations cannot replace the return of the state and state services and political stability and the choice of sovereign states”, Macron said, pointing out despite repeated operations the state still had not returned in many areas.

Macron criticised Mali’s latest coup and said Western bloc ECOWAS had been wrong to back it. He said France could not continue to send soldiers to their deaths if Sahel governments negotiated with the very people who killed them.

Macron had pushed back a decision on a troop reduction after a virtual summit in February. Last year, Paris boosted its troop numbers for its Barkhane counter-terrorism operation in the Sahel by 600. That move was meant to be temporary.

Militants linked to al Qaeda and Islamic State have strengthened their foothold across the region, making large swathes of territory ungovernable and stoking ethnic violence, especially in Mali and Burkina Faso.

Get more stories like this on Twitter