text: Imperial Court in Kyoto was the nominal ruling government of Japan from 794 AD until the Meiji Era , in which the court was moved to Tokyo and integrated into the Meiji government .
simplified: Imperial Court in Kyoto was the government of Japan from 794 AD until the Meiji Era , in which the court was moved to Tokyo .