The Battle of Sekigahara in 1600 marked the beginning of the Edo period. "Shōgun" Tokugawa Ieyasu reorganized roughly 200 daimyo and their territories into "han," which were assessed by rice production. Those heading "han" assessed at 10,000 "koku" (50,000 bushels) or more were considered daimyo. Ieyasu also categorized the daimyo according to their relation to the ruling Tokugawa family: the "shinpan" were related to the Tokugawa; the "fudai" had been vassals of the Tokugawa or allies in battle; and the "tozama" had not allied with the Tokugawa before the battle (did not necessarily fight against the Tokugawa).