Shoshidai (所司代)

Shoshidai (representative of shoshi) is:
a post in the Muromachi bakufu to be an assistant to Shoshi (a governor of the Board of Retainers) leading Samurai-dokoro (the Board of Retainers) or an assistant to tonin (the director). Refer to Samurai-dokoro (the Board of Retainers).

Shoshidai was in charge of maintaining the security of Kyoto during the Oda government, the Toyotomi government, and the Edo bakufu (Japanese feudal government headed by a shogun). Refer to Kyoto shoshidai (The Kyoto deputy).