After Hideyoshi's death following the failed invasion of Korea, Tokugawa Ieyasu seized power with the victory at the Battle of Sekigahara and established a shogunate government at Edo (now known as Tokyo) in 1600. He received the title "sei-i taishōgun" in 1603, after he forged a family tree to show he was of Minamoto descent. The Tokugawa shogunate lasted until 1867, when Tokugawa Yoshinobu resigned as shogun and abdicated his authority to Emperor Meiji. Ieyasu set a precedent in 1605 when he retired as shogun in favour of his son Tokugawa Hidetada, though he maintained power from behind the scenes as (, cloistered shogun).