Germany says it will double the 70 million euros ($76 million) it has already pledged to help Somalia cope with the severe drought and hunger that is threatening millions of people across this Horn of Africa nation.

The promise was made during a surprise visit by Germany's Foreign Minister Sigmar Gabriel to the Somali capital, Mogadishu, Monday. Somali prime minister Hassan Ali Khaire met with Gabriel and thanked Germany for its support.

Germany has already pledged aid worth 70 million euros, Gabriel said after arriving in Mogadishu under tight security.

"We are ready to at least double that," he said.

The U.N. estimates that 5 million people in Somalia need aid, amid warnings of a full-blown famine.

Somalia is one of countries highlighted by the U.N. secretary-general last month in a $4.4 billion aid appeal to avert catastrophic famine. Other countries named were northeast Nigeria, South Sudan and Yemen. All are affected by violent conflict, the U.N. chief said.