At least a dozen Niger soldiers have been killed following an attack by hundreds of armed insurgents on motorbikes in the country's southwest, the West African nation's defence ministry said in a statement.
Seven soldiers were killed in combat while five others died in an accident while driving to reinforce the unit that had come under attack on Thursday, the statement said.
The attack took place about 190 km (118 miles) from the capital Niamey in Kandadji, near the tri-border zone of Mali, Burkina Faso and Niger that has been the epicenter of insurgencies in the Sahel region in the last few years.
The three countries by juntas have recently signed a security pact, partly to fight armed groups.
Earlier on Thursday, three sources including a senior military officer, who requested anonymity because they are not authorised to speak to the media, told Reuters that at least ten soldiers were killed.
Helicopter hit
Neither the sources nor the defence ministry say which group was responsible. Local affiliates of al Qaeda and Islamic State are active in the region and wage frequent attacks on soldiers and civilians.
The defence ministry statement said around a hundred insurgents were killed and their motorbikes and arms were destroyed. It gave no further details.
Two security sources said the army responded to the attack with ground troops as well as helicopters, one of which was hit but was able to return to its base.
Niger is run by a military junta that seized power in a coup in July, partly out of discontent at the worsening security situation. Neighbouring Mali and Burkina Faso have each had two coups in the last three years.
Anti-France
However, security analysts say attacks had been falling in Niger under ousted President Mohamed Bazoum, who had tried to engage with armed groups and the rural communities where they are rooted.
At least 17 soldiers were killed in another attack in southwestern Niger in mid-August.
On Sunday, France said it would withdraw its 1,500 troops from Niger before the end of the year, after weeks of pressure from the junta and popular demonstrations against the former colonial ruler, which has forces there to fight the insurgents.
On Thursday, several hundred pro-junta supporters gathered again in front of the French military base in Niamey to demand that the troops leave.