During the Genpei War (1180-1185) between the Taira and Minamoto clans in the late-Heian period, Tottori became a base for anti-Taira forces, specifically at two temples, Daisen-ji and Sanbutsu-ji. By the beginning of the Kamakura period (1185-1333) shōen estates were established to directly support the Imperial court and various temples. Successive clans controlled the region during the Sengoku period (15th to 17th century), most notably the Yamana clan, but after the Battle of Sekigahara in 1600 the region was pacified. The Tokugawa shogunate installed the Ikeda clan at Tottori Castle. The clan retained control of the area until throughout the Edo period (1603-1868) and the resources of the area financially and materially supported the shogunate.