松前藩
In 1779, the Tokugawa shogunate took direct control over Hakodate, which triggered rapid development in the area. Merchant Takadaya Kahei, who is honoured as the founder of Hakodate port, set up trading operations, which included opening the northern Etorofu sea route to the Kuril island fisheries. He is credited with turning Hakodate from a trading outpost into a thriving city. A Hakodate magistracy was established in 1802. By 1807, the power of the Tokugawa government extended to the entire region. However, in 1821, the central government relaxed their control of the area and restored the Matsumae clan to the full powers they had before.