The Hakodate customs which has long history began in Ansei6 (1859). After Japan finshed closing the country , Hakodate was opened as a port to trade, and so Hakodate customs was named "Hakodate unjyojyo".