of Nobunaga's army which captured Kyoto in 1568. At the same time, Ieyasu was eager to expand eastward to Tōtōmi Province. Ieyasu and Takeda Shingen, the head of the Takeda clan in Kai Province, made an alliance for the purpose of conquering all the Imagawa territory. Tōtōmi campaign In 1569, Ieyasu's troops penetrated into Tōtōmi Province. Meanwhile, Takeda Shingen's troops captured Suruga Province (including the Imagawa capital of Sunpu). Imagawa Ujizane fled to Kakegawa Castle, which led to Ieyasu laying siege to Kakegawa. Ieyasu then negotiated with Ujizane, promising that if Ujizane should surrender himself and the remainder of Tōtōmi, Ieyasu would assist Ujizane in regaining Suruga. Ujizane had nothing left to lose, and Ieyasu immediately ended his alliance with Takeda, instead making a new alliance with Takeda's enemy to the north, Uesugi Kenshin of the Uesugi clan. Through these political manipulations, Ieyasu gained the support of the samurai of Tōtōmi Province. In 1570, Ieyasu established Hamamatsu as the capital of his territory, placing his son Nobuyasu in charge of Okazaki. Ieyasu and Nobunaga (1570-1582) Battle of Anegawa In 1570, Azai Nagamasa, the brother-in-law of Oda Nobunaga, broke his alliance with the Oda clan during the siege of Kanegasaki. Soon Nobunaga was ready to punish Nagamasa for his treachery. Ieyasu led 5,000 of his men to support Nobunaga at the battle. The Battle of Anegawa occurred near Lake Biwa in Ōmi Province. The allied forces of Oda Nobunaga and Tokugawa Ieyasu defeated the combined forces of the Azai clan and Asakura clan, and saw Nobunaga's prodigious use of firearms. It is notable as the first battle that involved the alliance between Nobunaga and Ieyasu. Conflict with Takeda In October 1571, Takeda Shingen broke the alliance with the Oda-Tokugawa forces and now allied with the Odawara Hōjō clan. He decided to make a drive for Kyoto at the urgings of the shōgun Ashikaga Yoshiaki, starting with invading Tokugawa lands in Tōtōmi. Takeda Shingen's first objective in his campaign against Ieyasu was Nishikawa Castle, Yoshida Castle and Futamata Castle. In 1572, after besieging Futamata, Shingen would press on past Futamata towards the major Tokugawa home castle at Hamamatsu. Later, Ieyasu asked for help from Nobunaga, who sent him some 3,000 troops. Early in 1573 the two armies met at the Battle of Mikatagahara, north Hamamatsu. The considerably larger Takeda army, under the expert direction of Shingen, overwhelmed Ieyasu's troops and caused heavy