And this is really the beginning of medieval Japan. It's the beginning of the Kamakura period named for where the capital of the Kamakura period was. Now what's distinctive about medieval Japan and the bakufu system is that it becomes much more decentralized than what we had under the Heian period. It's often called a feudal system because it has parallels to what was going on in Europe at around the same time, where at the top you had this military ruler, the shogun, and then beneath the shogun, you had this decentralized structure of these lords essentially that controlled significant regions of Japan. They were called the daimyo. And there were roughly 300 daimyo in Japan, roughly county-sized districts. And the daimyo, in order to conquer land or to protect their own land, they would support a warrior class known as the samurai.