 The last Kyoto "shoshidai", Matsudaira Sadaaki, came from a collateral Tokugawa branch.As a practical matter, it could be said that this office ended with his resignation in 1867; but matters were not so unclouded in that time.After the Imperial edict sanctioning the restoration of Imperial government (November 1867), there was a time lag before the office of "shoshidai" was abolished (January 1868) and affairs of the city were temporarily entrusted to the clans of Sasayama (Aoyama), Zeze (Honda) and Kameyama (Matsudaira).