Jihadists killed 14 security personnel and civilians in an attack on a military base in northeast Nigeria's Borno state on Wednesday, security sources told AFP.
Suspected Boko Haram fighters in trucks fitted with machine guns launched a dawn raid on the army base in the town of Damboa, sparking intense fighting.
Sources said six soldiers, four police officers and two members of a government-backed militia were killed along with two civilians.
"We lost six soldiers in the attack while six others were injured," a military officer told AFP on condition of anonymity.
The officer claimed 13 insurgents were killed by a fighter jet as they fled the area.
The leader of an anti-jihadist militia said the civilians who died were among more than 50 local residents hit by shrapnel after rocket-propelled grenades fired by the jihadists hit nearby homes.
Nigeria's decade-long jihadist insurgency has killed 36 000 people and displaced two million others inside the country, and spilled into neighbouring Niger, Chad, and Cameroon.
The United Nations has complained of a surge in violence in the conflict zone in recent weeks.
Anger has been growing among local residents about the army's failure to stem the attacks despite repeated claims from officials that the insurgency has been defeated.
China becomes EU's top trading partner in first 7 months: Eurostat
UK takes "major step" towards joining Trans-Pacific free trade group: gov't
Japan's former ministers Kishida and Ishiba to run in party leadership race
Wildfire smoke increases the risk of COVID-19, experts warn
UN 75: China publishes position paper on post-COVID-19 world order, 5G and data security
Disposable masks may pose environmental threat