The Yokohama port was created in the middle of the 19th century for foreigners. It was five ports opened to foreign countries who demanded Japan to open ports. And Yokohama was the nearest port to Tokyo, which was then called "Edo".