Battle of Hakodate
The Meiji government forces invaded Hokkaidō and defeated Enomoto's forces in the Naval Battle of Hakodate. On 27 June 1869, the Republic of Ezo collapsed, and Hokkaidō came under the rule of the central government headed by the Meiji Emperor.