Nigeria’s President Muhammadu Buhari has arrived for a one-day working visit in Maiduguri, the capital of Borno state and the birthplace of the Boko Haram Islamist insurgency.
He addressed the troops deployed to the front line to fight the militants who are still terrorising large areas of the north-east.
His trip comes days after an attack on a military base in Metele, which resulted in the death of at least 40 soldiers.
Mr Buhari also visited some of the injured troops receiving treatment at a military centre in Maiduguri.
His government and the military have come in for a huge amount of criticism since the attack.
The army took five days to confirm reports of the attack and disputed the death toll.
Mr Buhari, who faces re-election in February, came to power in 2015 promising to defeat the militants, which he subsequently said had been achieved.
On Saturday, he said he would close the "loopholes" that had allowed militants to attack the base on Sunday 18 November.
More World Headlines
- Nigerian teenager stages own kidnap for party money
- Israel bars two members of U.S. congress
- Tanzania tanker explosion death toll reaches 85
- Canadian PM Trudeau broke 'conflict of interest rules' in corruption inquiry
- US: Share markets tumble as recession fears grow
- Kenya officials exhume man's body to retrieve uniform
- Trump official revises Statue of Liberty poem
- Nigeria's Buhari moves to block food imports
- Israeli billionaire to be tried over 'Guinea bribes'
- Trump targets legal migrants who get food aid
- Scientists hail promise of first effective Ebola treatments in Congo trial
- Thousands of protesters shut down Hong Kong airport as Beijing condemns 'terrorism'
- Sudan camp 'struggling with Eritrean arrivals'
- French charities rescue 81 more migrants off Libya
- Norway mosque shooting probed as terror act