Lagos - The military on Monday said that it had cleared Boko Haram from the northeastern state of Yobe, after reclaiming the town of Goniri.
"We announced the reclaiming of Goniri today," defence spokesman Chris Olukolade said on his Twitter account @GENOlukolade. "That was the last stronghold of terrorists in Yobe... #YobeIsFree."
Olukolade said in another Tweet late Monday that troops had ousted the insurgents from Bama, a key town in neighbouring Borno state, 70 kilometres (45 miles) from the capital Maiduguri.
"Nigerian troops have this afternoon routed terrorists from #Bama in #Borno state. Mopping up operation is ongoing," he said.
Boko Haram Islamist insurgents early September seized Bama, the second biggest town in the troubled state, during the rapid capture of several towns and villages in northeastern Borno, Adamawa and Yobe states on the border with Chad, Cameroon and Niger.
Boko Haram on Sunday set fire to homes in Bama forcing hunreds of residents to flee towards Maiduguri.
Also Read: Yobe state cleared of Boko Haram
The soldiers on Monday entered Bama, a strategic and historic town, at about 4:00 pm (1500 GMT) and fought the insurgents who fled to some neighbouring villages, fleeing residents told AFP.
Three states - Adamawa, Borno and Yobe -- have been the epicentre of the six-year-old Boko Haram violence that has killed more than 13,000 and displaced 1.5 million people.
The states were placed under a state of emergency in May 2013, which saw troops and civilian vigilantes force the Islamists out of urban centres into more remote, rural areas.
A move by President Goodluck Jonathan to extend the state of emergency for a third time in November last year was blocked by parliament.
Also Read: Terrorists hold PDP Vice President Sambo for nonpayment of wages
The violence continued and even intensified, however, with the Nigerian military unable to stop a takeover of dozens of towns and villages in all three states.
The presidential election was delayed by six weeks because of the Boko Haram violence and a four-country military operation to secure and stabilise the northeast for voting on March 28.
Last week, the military said Adamawa state had been cleared of Boko Haram fighters.
Olukolade wrote in a separate tweet: "Adamawa is free, Yobe is free, Borno is soon to be freed by our able military."
With the apparent liberation of Yobe on Monday, only a handful of towns and villages in Borno state are still under the control of Boko Haram.
Last week, the government said 36 towns in the three states had been recaptured as part of the operation.