A planned Boko Haram attack on a camp of Internally Displaced People in the northeastern town of Dikwa was foiled by Nigerian troops, Colonel Sani Usman said on Wednesday.
Usman, an army spokesperson, said in a statement that security forces “decisively dealt with the terrorists”, killing 26 of the Islamist fighters and seizing weapons and ammunition.
One soldier and a local vigilante assisting the military in the fight against Boko Haram were killed, he said.
Usman said three soldiers and four IDPs were injured in the encounter, adding that anti-aircraft guns, assault rifles and explosives were among the weaponry recovered.
“The casualties have since been evacuated while the troops have been pursuing those terrorists that escaped with gunshot wounds,” he said.
Boko Haram, which has increasingly used suicide and bomb attacks as the military pushes them out of territories it once controlled, has previously hit Dikwa, some 90 kilometres (50 miles) from Maiduguri, the birthplace of the sect.
On February 9, two female suicide bombers attacked the IDP camp in Dikwa, killing at least 58 people.
Boko Haram, which is allied to the so-called Islamic State group in Syria and Iraq, wants to create a hardline Islamic state in northeast Nigeria.
At least 17,000 people have been killed since 2009 and 2.6 million forced from them homes in violence that has increasingly hit Nigeria’s neighbours Cameroon, Chad and Niger.