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 to Tokyo 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 was selected as the location for the court because of its "proper" amount of rivers and mountains which were believed to be the most auspicious surroundings for the new capital. The capital itself was built in imitation of Chang'an, the Chinese capital of the Tang dynasty, closely following the theories of yin-yang. The most prominent group of people within the court was the civil aristocracy (kuge) which was the ruling class of society that exercised power on behalf of the emperor.
Front view of Kyoto Imperial Palace
Heian-kyō (平安京, lit. "peaceful/tranquil capital") was one of several former names for the city now known as Kyoto. It was the official capital of Japan for over one thousand years, from 794 to 1868 with an interruption in 1180.
Daidairi (大内裏, palace in the center) and the cityscape of Heian-kyō (miniature model at the Kyoto City Life-long Learning Center)
Miniature model of the ancient capital Heian-kyō
Perspective Pictures of Places in Japan: Sanjūsangen-dō in Kyoto Toyoharu, c. 1772–1781