Hakodate seen from Mount HakodateAs of March 2008, the city has an estimated population of 287,691 and a density of 442.24 persons per km². The total area is 677.77&_160;km².
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). The mansion is said to have included a barricade and looked like a box from the distance giving the area its name, box mansion.[1]
After his death, Masamichi's son, Kono Suemichi, and family were driven out of Hakodate into nearby Kameda during Ainu rebellion in 1512 and little history was recorded for the area during the next 100 years. There was constant low level conflict in the Oshima peninsula at the time with the Ainu as armed merchants like the Kono family established bases to control trade in the region. This conflict culminated in an uprising from 1669 to 1672, led by Ainu warrior Shakushain after which the Ainu in the region were suppressed.[2]