When Yoshimune became shogun, more than a dozen of the kusurigomeyaku came to Edo with Yoshimune and were incorporated as Shogun's retainer to become his oniwaban.
吉宗が将軍に就任したとき、薬込役のうち十数人の者たちが吉宗に随行して江戸に移り、幕臣に編入されて、御庭番となった。