Obanyaku was the post assigned to samurai from non-capital areas to maintain the security of Kyoto during the later Heian to early Muromachi period or to maintain the security of Kamakura city during the Kamakura period.
大番役（おおばんやく）は、平安時代後期から室町時代初期にかけて、地方の武士に京都、鎌倉時代に入ってからは鎌倉市の警護を命じたもの。