Machidai, a townsman who originally represented the Kyoto citizens, gradually built up a position in the Kyoto city magistrates' office, and also formed relationship with the court nobles, temples, and shrines, which were quite influential in legislature and administration of Kyoto.
だが、本来は京都市民の代表であった町人身分の町代が次第に町奉行所において地位を固めるようになると、京都の司法・行政に大きな影響力を与えた公家や寺社などとも関係を結んでいくようになってきた。