Buke shohatto refers to the set of laws established by the Tokugawa shogunate in the early 17th century, aimed at regulating the behavior and conduct of the samurai class. These laws were designed to reinforce the social hierarchy established by Tokugawa rule, ensuring that the samurai maintained their status while also addressing concerns about loyalty and order within the new regime. By codifying expectations for samurai behavior, buke shohatto played a crucial role in stabilizing Tokugawa governance and promoting peace during a period marked by centuries of conflict.