蝦夷共和國
From Aizu, some Bakufu loyalists made their way north to the city of Hakodate, on Hokkaido. There they set up the Republic of Ezo, centered on a government building within the walls of Goryōkaku, a French-style star fortress, which is nonetheless often included in lists and in literature on Japanese castles. After the fierce Battle of Hakodate, the fortress of Goryōkaku was under siege, and finally surrendered on May 18, 1869, bringing an end to the Boshin War.