German Chancellor Olaf Scholz on Sunday called for North Korea to cease ballistic missile tests after he visited the fortified border between North and South Korea ahead of a summit with South Korean President Yoon Suk-yeol in Seoul.

Scholz, who is visiting South Korea after attending the Group of Seven summit in Hiroshima called the missile tests a sign of a "still dangerous situation" on the Korean peninsula.

"This is a threat to peace and security in this region," he said at a military base after a visit to the Demilitarized Zone separating the Koreas.

Germany's history as a divided nation had been overcome, he said, but division persists on the Korean Peninsula.

Both Scholz and Yoon left Japan on Sunday after joining the G7 summit. South Korea was invited as an observer.

G7 leaders signaled they would not back down from supporting Ukraine, and outlined a shared approach towards China, looking to "de-risk, not decouple" economic engagement with a country regarded as the factory of the world.