Ueda Castle
Following the Battle of Odawara in 1590, Toyotomi Hideyoshi awarded a 27,000 "koku" area of Numata to Sanada Masayuki. However, Yukimasa was based at Ueda Castle in Shinano Province, and thus entrusted the lands to his son, Sanada Nobuyuki. In the subsequent conflict between the Toyotomi and Tokugawa, the Sanada clan hedged its bets with Sanada Nobuyuki siding with Tokugawa Ieyasu and fighting against his brother, Sanada Yukimura at the Battle of Sekigahara. As a reward for his services, Sanada Nobuyuki was subsequently confirmed by the Tokugawa shogunate in 1600 as daimyō over the combined Ueda and Numata territories and his revenues were increased to 95,000 "koku". In 1616, Nobuyuki relocated from Numata to Ueda, entrusting Numata to his son, Sanada Nobuyoshi, but Numata was not officially recognized as a separate domain until 1656. The final Sanada daimyō, Sanada Nobutoshi, profited tremendously by under-representing his income to the shogunate and with the lumber trade. This enabled him to rebuild Numata Castle on a large scale with a 5-story donjon, and rebuilt the clan's residences in Edo on a large scale. The financial irregularities were eventually discovered, and the shogunate seized the domain in 1681.