And the system that emerges is known as the bakufu system or the shogunate. And Minamoto Yoritomo was the first shogun. So you can see here the emperor still was there, but the shogun was where all of the power was. 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.