The Takeda clan of Aki Province was a cadet branch of the famed Takeda clan of the Kai Province of Imperial Japan, descended from Emperor Seiwa (850-880) and the Minamoto clan (Seiwa Genji). The Takeda of Wakasa were a branch of the Takeda of Aki. When Minamoto no Yoritomo was first defeated at Ishibashiyama (1181), Takeda Nobuyoshi (1128–86) was applied for help, and the Takeda sent an army of 25,000 men to support Yoritomo. Takeda Nobumitsu (1162–1248), son of Nobuyoshi, fought against the Taira, against Kiso Yoshinaka (1184), distinguished himself in the Battle of Ichinotani (1184), and was appointed Shugo (Governor) of Kai province. He also fought against the Northern Fujiwara (1189) and against Wada Yoshimori (1213). During the Jōkyū War, he helped the Hōjō, and led 50,000 soldiers as 'Daishogun of the Tosando' , and in reward received the governorship of Aki province (1221). Takeda Nobutake († 1362) was the last Takeda Shugo of the two provinces of Kai and Aki. His elder son Nobunari received Kai and the younger Ujinobu received Aki province. From the Muromachi period until the Sengoku period, the Takeda of Aki ruled Aki province (since 1221), Wakasa province (since 1440), were supporters of the Ashikaga against the Southern Dynasty, and sided with the Hosokawa clan during the Ōnin war (1467–1477). Takeda Nobuhide (1413-1440), eldest son of the Shugo of Aki Takeda Nobushige (1390-1465), helped the 6th shogun Ashikaga Yoshinori against the revolt of Isshiki Yoshitsura (1440) and was rewarded with the governorship of Wakasa province. Takeda Nobukata (1420-1471) inherited the titles of Shugo of Wakasa from his brother Nobuhide who died childless, and that of Shugo of Aki from his father Nobushige. During the Ōnin War (1467-1477) he occupied Tango province that belonged to Isshiki Yoshinao, and was appointed Shugo of Tango (1469) by the bakufu. His brother Takeda Kuninobu (1437-1490) received the titles of Shugo of Aki, Wakasa and Tango provinces, but lost Tango in 1474. Their principal fortress was Kanayama castle, built on the top of the 411 meters of Mount Takeda; a castle built by Takeda Nobumune (1269-1330) in the late Kamakura period, near the present city of Hiroshima. However, clashes with Mōri Motonari of Aki between 1516 and 1541 led to the clan's downfall. The principal line came to an end with the death of Takeda Nobuzane in 1555. The priest Ankokuji Ekei (1537 or 1539-1600) was a grandson (