Officers of the Machibugyoshyo (town magistrate office) were called Yoriki (higher-ranking samurai) and Doshin (lower-ranking samurai). There were 50 Yoriki and 200 Doshin in Edo’s Choninchi (townsmen’s residential district) controlling the town. Considering that the population of Choninchi alone was over 50,000 residents, having only 250 samurai patrolling and policing the area was too small for that amount of people. Because of this, Ienushi (property managers) and Machinanushi (neighborhood headsmen) helped the samurai to keep the peace in town. Ienushi rotated duties monthly by governing the town and acted as representatives to neighborhood chiefs, and assumed the title of Gachigyoji while performing this job. Machinanushi, who ruled one or more areas, were also performing various kinds of duties. These control systems, starting from Machibugyo (town magistrates) to Machidoshiyori (assistants to the Machibugyo), along with the citizens committed to uniting the people and keeping the peace, ensured control over the town.