Niamey (AFP) - Thirty-two troops have been killed in a clash with Boko Haram fighters on Niger's border with Nigeria, Niger's defence ministry said on Saturday, one of deadliest tolls inflicted by the jihadists.
In neighbouring Nigeria, the army meanwhile said it had killed 19 Boko Haram militants in separate fighting in northeast Borno state, while two soldiers suffered gunshot wounds.
In the Niger fighting, "hundreds of assailants" attacked a military post in the town of Bosso on Friday evening, the defence ministry said in a statement that gave a "provisional toll" of 30 Nigerien and two Nigerian soldiers killed and 67 wounded.
"On the enemy's side, several dead and injured were taken away," the ministry said.
"Boko Haram elements effectively took control of the town temporarily, but now they were dislodged," a security source said.
Local resident and former MP Elhaj Aboubacar said: "They drove up at twilight, shouting Allahu Akbar (God is Great), they fired a lot of shots and torched many places in Bosso."
"We don't know where our military went, but one thing is for sure, Boko Haram were able to do what they liked until dawn," Aboubacar said.
"The situation is under control and calm has returned," the defence ministry said, adding that a "mopping up" operation was underway by land and air.
- 19 Boko Haram fighters killed -
Since February 2015, Niger has been plagued by Boko Haram attacks in its southeast region.
The Islamists frequently stage cross-border raids from their stronghold in neighbouring Nigeria.
Boko Haram's seven-year insurgency has devastated infrastructure in Nigeria's impoverished northeast region and forced around 2.1 million people in Nigeria to flee their homes, according to the UN's refugee agency.
The unrest has left at least 20,000 people dead in Nigeria and made more than 2.6 million homeless.
In the latest clashes there 19 Boko Haram militants were killed in Borno, according to the military.
Acting upon an intelligence report on the presence of Boko Haram fighters in the militants' Chukungudu camp, Nigerian troops and civilian JTF (joint task force) members launched the attack on Friday.
"During the encounter at the camp, the troops killed 19 Boko Haram terrorists including their notorious leader in the area, called Ameer Abubakar Gana," the army said in a statement.
The two soldiers who suffered gunshot wounds were said to be responding to treatment.
The troops destroyed an improvised explosive devices (IED) making factory, detonated four primed IEDs, recovered two anti-aircraft guns and other weapons and vehicles.
There was no independent confirmation of the army statement.
The latest clashes came as a multinational force from Nigeria, Niger, Chad and Cameroon prepared to launch a major offensive on Boko Haram around Lake Chad.
Nigeria has struggled to acquire military hardware for troops fighting Boko Haram, with Western governments reluctant to provide weapons partly because of its army's human rights record.
- ECOWAS and jihadist threat -
In the Senegalese capital of Dakar, a summit of the 15-nation regional grouping ECOWAS -- the Economic Community of West African States -- spelt out its determination to aid states fighting the jihadist threat.
Mali, Burkina Faso, Cameroon, Chad and Ivory Coast have also seen bloody attacks.
"The multiplication of numerous terrorist hotbeds in our region compels us to share information on their activities, to communicate, co-ordinate and harmonise our efforts," said the new president of the ECOWAS commission, Benin's Marcel Alain de Souza.
"This naturally makes us think harder about the creation of a regional intervention force against terrorism," he said in remarks released by the Senegalese news agency APS.
"The threat of terrorism remains a source of concern for our sub-region," said Senegalese President Macky Sall, current ECOWAS chairman.
"We must at the same time remove any confusion in the terminology: there is no Islamic state in west Africa that has the same terrorist aims of Boko Haram. Islam has nothing to do with terrorism and its murderous insanity."