上田城
Months later, Tokugawa forces invaded Sanada clan's territory in northern Shinano province with 7,000 men and laid siege to Ueda Castle, which was defended by only 1,200 soldiers. However, Masayuki was able to inflict 1,300 casualties on Tokugawa's side and won a decisive victory. Meanwhile, Hōjō Ujinao attacked Numata Castle, but was also rebuffed by Sanada forces. This was the First Battle of Ueda Castle, a victory that earned Masayuki national prominence. Following this, Masayuki went from being just a former Takeda retainer to become recognized as an independent "daimyō".