German Chancellor Angela Merkel met with Nigerian President Muhammadu Buhari on Friday in the last leg of her trip to three African countries.

 Iran Press/Africa:  The smiling leaders appeared at ease as they met for talks that are set on boosting economic development and curbing migration to Europe.

Prior to her talks with Buhari, Merkel met with Jean-Claude Brou, the president of the Economic Community of West African States (ECOWAS) which is headquartered in Nigeria.

Merkel is also expected to address the security situation in Nigeria, which has been grappling with terror attacks in the country's north by the extremist group Boko Haram.

An estimated 20,000 people have been killed since 2009 while some 2.5 million have fled the region.

Nigeria is the main country of origin for migrants who are seeking to travel to Germany and other European countries across the Mediterranean. It's also the largest economy on the African continent.

Although migration has been one of the main focuses of Merkel's visit, the number of people crossing the Mediterranean is at its lowest in five years.

Some leaders in Europe hope that by encouraging security and investment in western Africa, people will be more likely to remain in a region currently impacted by extremist attacks, unemployment and the detrimental effects of climate change.

Nigeria is the last stop on Merkel's three-day tour through the region, which included visits to Senegal and Ghana — two of the fastest-growing economies in Africa.

Read More:

German Chancellor begins West African tour