Nigeria and Cameroon have vowed to strengthen their cooperation in the ongoing fight against terror group Boko Haram, which has killed thousands of people in Nigeria and neighbouring countries. Nigerian President Muhammadu Buhari and Chadian leader Idriss Déby said the two countries will exchange intelligence and security cooperation along their border.

Who are Nigeria's Boko Haram terrorists?

Boko Haram (recently renamed Iswap) fights against Western influence in Nigeria and aims to impose its version of Sharia law in the country.

The group declared an Islamic caliphate in Gwoza, along the Cameroon border, in August 2014.

Boko Haram has raided several cities in the north of the country in a bid to take control of more land.

Three states − Adamawa, Borno and Yobe − have been under a state of emergency since May 2013, due to Boko Haram's attacks.

The group has killed more than 3,000 people since the beginning of 2015.

The announcement came as Buhari visited Cameroon, trying to improve the relations between the two countries, which deteriorated over a land dispute during 1980s. Cameroon also announced it would send 2,000 military reinforcements to the north of the country, on the border with Nigeria, following deadly attacks blamed on Boko Haram that have left hundreds dead in recent weeks.

The Nigerian military, - already helped by troops from Niger, Chad, Benin and Cameroon - announced that a new task force is ready to take over in the ongoing anti-terrorism fight. Buhari named Major General Iliya Abbah as the new head of the multinational task force.

US President Barack Obama also pledged more support to Nigeria in its fight against terrorism and corruption. However, Buhari accused the US of supporting Boko Haram with its ban on arms sale to Nigeria.

The US Leahy Law forbids the US government from providing military assistance or funding to countries that commit – or are suspected of committing – gross human rights abuses with impunity. In June, the US announced it would send military trainers to help the Nigerian army improve its intelligence.

Nigeria up close: Check out our Flipboard magazine

More about Boko Haram and Nigeria