Hakodate is a city and port located in Oshima Subprefecture, Hokkaido, Japan. It is the capital city of Oshima Subprefecture. Hakodate was Japan's first city whose port was opened to foreign trade in 1854 as a result of Convention of Kanagawa, and used to be the most important port in northern Japan. Also, the city had been the biggest city in Hokkaido before the Great Hakodate Fire of 1934. Hakodate was founded in 1454, when Kono Kaganokami Masamichi constructed a large manor house in the Ainu fishing village of Usukeshi (the word for bay in Ainu).