Under the rule of the feudal centralization system established by Tokugawa Ieyasu, Japan experienced a relatively stable and peaceful era, leading to a flourishing of various industries and abundant opportunities. Agricultural production continued to develop, and more importantly, domestic commerce was afforded a relaxed environment, becoming more advanced. By the 17th century, Japan had formed a nationwide market system, replacing the previously isolated local small markets.