Does this help?
The Tokugawa family assumed this authority after defeating a formidable army of opposing clans at the battle of Sekigahara in 1600. The bakufu government thus formed and led by a Tokugawa shogun maintained legitimacy through his appointment to office by the weakened emperor who remained in Kyoto.