The Battle of Sekigahara (Shinjitai: 関ヶ原の戦い; Kyūjitai: 關ヶ原の戰い, Sekigahara no Tatakai) was a decisive battle on October 21, 1600 (Keichō 5, 15th day of the 9th month) that preceded the establishment of the Tokugawa shogunate.
Tokugawa Ieyasu took three more years to consolidate his position of power over the Toyotomi clan and the daimyo, but Sekigahara is widely considered to be the unofficial beginning of the Tokugawa bakufu, the last shogunate to control Japan. Japan had a long period of peace after the battle.
Oda Nobunaga had slowly consolidated control over much of Japan and was in control of the shogun, Ashikaga Yoshiaki. Ashikaga tried to escape this predicament in 1573 by attacking Oda, but failed and was exiled, thus ending his shogunate. Nobunaga ruled unopposed until he was betrayed by his own retainer Akechi Mitsuhide in 1582. While under attack in Kyoto, Nobunaga committed suicide by seppuku. Toyotomi Hideyoshi quickly avenged his master Nobunaga and consolidated control over Japan. Hideyoshi had risen from humble roots to become the ruler of Japan. His father was an ashigaru (foot-soldier). The death of Hideyoshi created a power vacuum in Japan, which ultimately was resolved by the outcome at Sekigahara.