Islamic militants in Niger killed at least 25 soldiers during a Thursday assault on a military base, officials said amid a surge of jihadist attacks in the region.

Niger's defense ministry said 63 jihadist fighters also died in the fighting in the town of Chinagodrar, which sits seven miles from Niger's border with Mali. No one claimed responsibility for the attack, but it bore the hallmarks of an Islamic State-linked group that claimed to be behind a December ambush near the town of Inates.

The deadly attack comes days before French President Emmanuel Macron is expected to meet with Niger's president, Mahamadou Issoufou, and other West African leaders.

NYC WOMAN WHO PLOTTED TERRO BOMBING ON LAW ENFORCEMENT GETS 15 YEARS IN PRISON

Leaders from the former French colonies of Burkina Faso, Chad, Mali, Mauritania and Niger are due to discuss the French military's role amid an increase in Islamic terrorist attacks. After intervening in 2013 to oust various jihadists from power, France has now launched its biggest overseas military operation in West and Central Africa to assist with the threat.

Mohamed Ibn Chambas, the special representative and head of the United Nations Office for West Africa, told the U.N. Security Council on Wednesday that attacks have increased significantly in frequency and in the number killed in Burkina Faso, Mali and Niger since 2016.

WHO IS THE FBI'S MOST WANTED TERRORIST? MEET JEHAD SERWAN MOSTAFA

More than 4,000 deaths were reported last year, a dramatic increase over the 770 in 2016, he said.

“Most significantly, the geographic focus of terrorist attacks has shifted eastwards from Mali to Burkina Faso and is increasingly threatening West African coastal states,” Chambas said.

In December, at least 70 soldiers were killed in Niger when Islamic militants attacked a military base in one of the country's deadliest onslaughts in recent history.

CLICK HERE FOR THE FOX NEWS APP

That same month, France announced it killed seven Islamic extremists in Mali in its first armed drone strike. Four American military service members were killed in 2018 during an ambush by militants 30 miles from the sight of the December attack in Niger.

Fox News' Nick Givas and The Associated Press contributed to this report.