German Chancellor Angela Merkel has arrived in Niger for the final stop of her three-nation West Africa tour.

Earlier on Thursday Merkel met with some of the 850 German soldiers who are serving with the United Nations peacekeeping mission in Mali.

She had started the day by meeting with university students in Burkina Faso, where she encouraged them to look to the future instead of supporting Islamic extremism.

German Chancellor Angela Merkel, left, is welcome by Burkina Faso President, Roch Marc Christian Kabore, right, at the Presidential palace in Ouagadougou, Burkina Faso, Wednesday, May 1, 2019. Merkel has arrived in the West African nation of Burkina Faso. Merkel is on a three-nation tour in the region. (AP Photo/Alain Didier Compaore)
German Chancellor Angela Merkel, left, is welcome by Burkina Faso President, Roch Marc Christian Kabore, right, at the Presidential palace in Ouagadougou, Burkina Faso, Wednesday, May 1, 2019. Merkel has arrived in the West African nation of Burkina Faso. Merkel is on a three-nation tour in the region. (AP Photo/Alain Didier Compaore)

Merkel’s visit has focused on increasing support for the vast Sahel region as countries there fight a growing threat posed by jihadists.

Leaders from the five nations that make up the G5 Sahel met with Merkel in Burkina Faso’s capital, and Germany pledged tens of millions of euros (dollars) to help secure the troubled region.

German Chancellor Angela Merkel, left, speaks during a news conference while Burkina Faso President, Roch Marc Christian Kabore, right, listens at the Presidential Palace in Ouagadougou, Burkina Faso, Wednesday, May 1, 2019. Merkel has arrived in the West African nation of Burkina Faso. Merkel is on a three-nation tour in the region. (AP Photo/Alain Didier Compaore)
German Chancellor Angela Merkel, left, speaks during a news conference while Burkina Faso President, Roch Marc Christian Kabore, right, listens at the Presidential Palace in Ouagadougou, Burkina Faso, Wednesday, May 1, 2019. Merkel has arrived in the West African nation of Burkina Faso. Merkel is on a three-nation tour in the region. (AP Photo/Alain Didier Compaore)
German Chancellor Angela Merkel speaks during a news conference with Burkina Faso President Roch Marc Christian Kabore at the Presidential Palace in Ouagadougou, Burkina Faso, Wednesday, May 1, 2019. Merkel has arrived in the West African nation of Burkina Faso. Merkel is on a three-nation tour in the region. (AP Photo/Alain Didier Compaore)
German Chancellor Angela Merkel speaks during a news conference with Burkina Faso President Roch Marc Christian Kabore at the Presidential Palace in Ouagadougou, Burkina Faso, Wednesday, May 1, 2019. Merkel has arrived in the West African nation of Burkina Faso. Merkel is on a three-nation tour in the region. (AP Photo/Alain Didier Compaore)
German Chancellor Angela Merkel, center left, is welcomed by Burkina Faso President, Roch Marc Christian Kabore, right, at the Presidential Palace in Ouagadougou, Burkina Faso, Wednesday, May 1, 2019. Merkel has arrived in the West African nation of Burkina Faso. Merkel is on a three-nation tour in the region. (AP Photo/Alain Didier Compaore)
German Chancellor Angela Merkel, center left, is welcomed by Burkina Faso President, Roch Marc Christian Kabore, right, at the Presidential Palace in Ouagadougou, Burkina Faso, Wednesday, May 1, 2019. Merkel has arrived in the West African nation of Burkina Faso. Merkel is on a three-nation tour in the region. (AP Photo/Alain Didier Compaore)
German Chancellor Angela Merkel, center, poses for a photograph at the end of the G-5 Sahel summit between the presidents of Burkina Faso, Mali, Chad, Mauritania and Niger at the Presidential Palace in Ouagadougou, Burkina Faso, Wednesday, May 1, 2019. Merkel has arrived in the West African nation of Burkina Faso. Merkel is on a three-nation tour in the region. (AP Photo/Alain Didier Compaore)
German Chancellor Angela Merkel, center, poses for a photograph at the end of the G-5 Sahel summit between the presidents of Burkina Faso, Mali, Chad, Mauritania and Niger at the Presidential Palace in Ouagadougou, Burkina Faso, Wednesday, May 1, 2019. Merkel has arrived in the West African nation of Burkina Faso. Merkel is on a three-nation tour in the region. (AP Photo/Alain Didier Compaore)
Burkina Faso President Roch Marc Christian Kabore speaks during a news conference with German Chancellor Angela Merkel at the Presidential Palace in Ouagadougou, Burkina Faso, Wednesday, May 1, 2019. Merkel has arrived in the West African nation of Burkina Faso. Merkel is on a three-nation tour in the region. (AP Photo/Alain Didier Compaore)
Burkina Faso President Roch Marc Christian Kabore speaks during a news conference with German Chancellor Angela Merkel at the Presidential Palace in Ouagadougou, Burkina Faso, Wednesday, May 1, 2019. Merkel has arrived in the West African nation of Burkina Faso. Merkel is on a three-nation tour in the region. (AP Photo/Alain Didier Compaore)