The oniwaban families were originally lower-ranking vassals but most of them were promoted to the direct retainer of the shogun by the end of Edo period.
御庭番の家筋の諸家は当初はすべてが下級の御家人であったが、幕末までに大半の家が下級の旗本にまで上昇した。