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. And so they would take their agricultural surplus from their lands and use that to support this warrior class. And this warrior class, the samurai, they were analogous to knights in medieval Europe. And just as the knights had chivalry in Europe, the samurai in Japan had bushido, which eventually emerges as their code of conduct.