Republic of Ezoball was an unrecognized and short-lived stateball proclaimed in January 1869 in Ezo after the defeat of Tokugawaball in the Boshin War. It was the first attempt at an elected democratic government in the territory of Empire of Japanball, though only samurais could vote. The Empire of Japanball defeated it in June 1869 and Ezoball was renamed Hokkaidoball.