The Shōgitai was an elite samurai shock infantry formation of the Tokugawa shogunate military formed in 1868 by the hatamoto Amano Hachirō and Hitotsubashi Gosankyō retainer Shibusawa Seiichirō in Zōshigaya, Edo. The Shōgitai took a large part in the battles of the Boshin War, especially at the Battle of Toba–Fushimi, and, after being assigned the defence of Kan'ei-ji temple, the Battle of Ueno, where they were nearly annihilated.