Clansmen and warriors, who gathered to ask for the commutation of the death sentence of Yoshinobu staying in the Kan-eiji Temple, called themselves the "Shogitai," placed their base in the Ueno area and fought against the government army. In this Battle of Ueno, the Shogitai was ruined. Then, there was the return of political power to the Emperor and the restoration of the imperial rule. The 700-year history of the shogunate since the Kamakura Shogunate came to the end.