thumb|left|Front view of [[Kyoto Imperial Palace]]

The Imperial Court in Kyoto was the nominal ruling government of Japan from 794 AD until the Meiji period (1868–1912), after which the court was moved from Kyoto (formerly Heian-kyō) to Tokyo (formerly Edo) and integrated into the Meiji government. Upon the court being moved to Kyoto from Nagaoka by Emperor Kanmu (737–806), the struggles for power regarding the throne that had characterized the Nara period diminished.

Kyoto's identity as a political, economic, and cultural centre started to be challenged in the post-1185 era with the rise of the shogunate system which gradually seized governance from the emperor. After Yoritomo launched the shogunate, true political power was in the hand of the shōguns, who were mistaken several times for the emperors of Japan by representatives of Western countries. The Kamakura shogunate (or Kamakura bakufu) would go on to last for almost 150 years, from 1185 to 1333.