 The office became very important under the Hōjō regents and was always held by a trusted member of the family.The office was expanded and its duties codified as an office in the Tokugawa shogunate.The "shoshidai", usually chosen from among the "fudai daimyōs", was the shōgun's deputy in the Kyoto region, and was responsible for maintaining good relations and open communication between the shogunate and the imperial court.