Answer
Ieyasu implemented the bakuhan system to keep the samurai in check. This system divided the country into domains, each of which was ruled by a daimyo, who was in turn responsible to the shogun. The daimyos were required to keep their samurai under control and to provide troops for the shogun's armies.