Under the government service system of the Edo Bakufu, Shoinban (castle guards) and Koshogumi (page corps) called Ryoban were equivalent to the Umamawari in many domains.
江戸幕府の職制では、両番と呼ばれる書院番・小姓組が諸藩における馬廻にあたる。