Gundai or Koribugyo was generally used to refer to a Daikan (local governor) who controlled a unit of Gun (country) under the direction of a Shugodai, but there were also times when these terms were also used to refer to a Shugodai.
一般的には守護代の支配を受けて郡単位で支配した代官を郡代・郡奉行と呼んでいたが、守護代そのものを郡代・郡奉行と呼ぶ場合もある。