Fetching details from the dictionary...

assisting town official (Edo period)
江戸時代の町には町代という役職の人がいた。
There were town representatives in the Edo period.
当時は町代が町の様々な事務を担当した。
Town representatives handled town affairs.
江戸時代の町代の詳しい記録が残っている。
Records of town representatives remain.