坂上田村麻呂
Originally, the title of "Sei-i Taishōgun" ("Commander-in-Chief of the Expeditionary Force Against the Barbarians") was given to military commanders during the early Heian period for the duration of military campaigns against the Emishi, who resisted the governance of the Kyoto-based imperial court. Ōtomo no Otomaro was the first "Sei-i Taishōgun". The most famous of these shoguns was Sakanoue no Tamuramaro.