Tokugawa shogunate
Relations with the Emperor

Regardless of the political title of the Emperor, the shōguns of the Tokugawa family controlled Japan. The shogunate secured a nominal grant of administration (体制, taisei) by the Imperial Court in Kyoto to the Tokugawa family. While the Emperor officially had the prerogative of appointing the shōgun and received generous subsidies, he had virtually no say in state affairs. The shogunate issued the Laws for the Imperial and Court Officials (kinchu narabini kuge shohatto 禁中並公家諸法度) to set out its relationship with the Imperial family and the kuge (imperial court officials), and specified that the Emperor should dedicate to scholarship and poetry. The shogunate also appointed a liaison, the Kyoto Shoshidai (Shogun's Representative in Kyoto), to deal with the Emperor, court and nobility.

Towards the end of the shogunate, however, after centuries of the Emperor having very little say in state affairs and being secluded in his Kyoto palace, and in the wake of the reigning shōgun, Tokugawa Iemochi, marrying the sister of Emperor Kōmei (r. 1846–1867), in 1862, the Imperial Court in Kyoto began to enjoy increased political influence. The Emperor would occasionally be consulted on various policies and the shogun even made a visit to Kyoto to visit the Emperor. Government administration would be formally returned from the shogun to the Emperor during the Meiji Restoration in 1868.
detectable_content:postscript, detectable_format:number_bullet_lists[4]