Fetching details from the dictionary...
police sergeant (Edo period)
low-ranking samurai who assisted daimyo or prominent military commanders (Muromachi period)