The Nigerian army has repelled an attack by suspected Boko Haram militants in the town of Biu in the north-eastern state of Borno.
Some insurgents were killed, the army said after the militants were driven back.
Local people told the BBC they had seen the militants retreat and calm had been restored.
The attack came after three people were killed in a suicide attack in neighbouring Gombe state on Tuesday.
Residents of Biu, the largest town in Borno South, say they woke up to the sounds of heavy explosions and sustained gunfire.
One resident said Boko Haram militants had entered the town firing guns around 06:30 local time (05:30 GMT), leading some residents to flee.
Residents who stayed saw the army, which has often been accused of retreating in the face of Boko Haram attacks, engage the militants in intense battle.
Nigerian army spokesman Chris Olukolade said the military had killed some of the insurgents, taking their weapons, and had captured five of them alive.
Another resident of Biu said calm had now been restored and that although shops were still closed, people were venturing out again.
Refugee hub
Biu is reported to host large numbers of refugees who have fled towns taken over by Boko Haram.
Borno state, which is in the north-east of the country bordering on Chad and Cameroon, has been at the forefront of Boko Haram attacks in recent months.
The militants have captured a number of cities and are reported to control large parts of the state. Senator Maina Maaji Lawan, who represents Borno North, recently told the BBC at least 70% of the area he represents was in the hands of Boko Haram.
The fighting caps a week of violence with two suspected child suicide bombers in a crowded market on Sunday and an unspecified number of people killed when Boko Haram stormed the town of Baga.
Nigeria is to hold elections next month, amid growing doubts whether they can successfully go ahead in all parts of the country.
Latest Stories
-
Champions of 2024 Inter-School Reading Quiz tour Mohammed Bin Rashid Library in Dubai
2 hours -
Mahama decouples Youth from Sports Ministry
2 hours -
President Mahama orders immediate suspension of state land transactions
2 hours -
Edward Bawa: NDC left $2.4bn energy debt, NPP aggravated the situation
2 hours -
Joint military police reinforcement deployed in Ejura
2 hours -
Fire guts 3 shops in Ho
2 hours -
Gunmen attack bus in Bolgatanga, leaving several injured
2 hours -
NDC supporters allegedly invade Bui Power Authority, call for staff removal
2 hours -
‘Cutting ministries is about sentiment, not savings’ – Bright Simmons analyses Mahama’s new Cabinet
3 hours -
Mahama directs Lands Commission to stop sale of state, public lands
5 hours -
Walker wants to ‘explore’ Man City exit – Guardiola
12 hours -
Ejura Sekyeredumase MP demands autopsy on resident who died in Police custody
13 hours -
Kusaas Diaspora Union launched to spearhead global unity, development
15 hours -
Bright Simmons: Mahama’s reduction of ministries to 23 amid calls for efficiency, cost-cutting
15 hours -
Maxwell Hanson seeks apology and compensation from Anim Addo over defamation claims
16 hours