Regarding samurai, those who had omemie ([the privilege to have] an audience [with one's lord, a dignitary, etc.]) or above, or 500 koku or more, were taken to a Daimyo family (feudal lord family).
武士の場合、原則として御目見以上かつ500石以上は大名家に預けられた。