Fetching details from the dictionary...
shogunal vassal; direct retainer of a shogun
旗本は徳川家に仕えた武士だ。
A hatamoto was a samurai who served the Tokugawa clan.
旗本の家に生まれた彼は武道に励んだ。
Born into a hatamoto family, he devoted himself to martial arts.
江戸時代に旗本は将軍直属の家臣として重要な役割を担っていた。
In the Edo period, hatamoto served as direct retainers of the shogun and played an important role.