Construction of the castle began in 1604 under the direction of the Tokugawa shogunate. It was completed some 20 years later.