Ueda Castle
After the Battle of Sekigahara and the establishment of the Tokugawa shogunate, Sanada Masayuki submitted to Tokugawa Ieyasu, but was dispossessed and Ueda Castle was partially demolished. Sanada Nobuyuki was made "daimyō" of Ueda Domain, and returned to build a residence in the former "San-no-maru" area. He was transferred to nearby Matsushiro Domain in 1622, and replaced by the Sengoku clan, who rebuilt parts of the Main Bailey and Second Bailey from 1628, but the "tenshu" was not restored. The Sengoku were in turn replaced by a branch of the Matsudaira clan in 1706, who remained in control of the castle until the end of the Edo period.