坂上田村麻呂
During Heizei's reign, the bodyguards were reorganized; the existing Imperial Bodyguards became the Left Imperial Bodyguards, while the Middle Bodyguards became the Right Imperial Bodyguards. Both sides were given a new Senior Commander; at this time Heizei appointed Sakanoue no Tamuramaro (758–811) as Senior Commander of the Imperial Bodyguards of the Right. Under Emperor Kanmu, Tamuramaro had been appointed as "shōgun" of a military expedition against the Emishi.