The Boshin War was the armed settlement of the Meiji Restoration. After the 'restoration of imperial rule' decree of January 1868, the last shogun Yoshinobu refused to give up power, and the old bakufu army met the new Meiji government's forces — Satsuma and Choshu at the core — at Toba and Fushimi outside Kyoto: against threefold numbers and the court's brocade banner, the shogunate army broke in three days and Yoshinobu fled to Edo to plead his fault. The government's eastern army came to the walls of Edo, where Saigo Takamori negotiated with the bakufu's navy commissioner Katsu Kaishu; in April the castle opened without blood, and a million people were spared the storm. In the same year the northeastern domains formed the Ouetsu-Reppan alliance and held out — Aizu-Wakamatsu fell after a month's siege, its boy 'White Tiger' corps entering legend by their suicide; and in 1869 the bakufu's last admiral, Enomoto Takeaki, seized the Goryokaku fort at Hakodate in Hokkaido and proclaimed the 'Republic of Ezo', crushed in June when the fort fell. In a year and a half, at a comparatively restrained cost, the polity changed hands: samurai privileges were abolished and the domains' registers returned to the court, laying the foundation of the modern unified state.