During the Nara period, development was slow. The Emperor’s family members were always fighting for power with the Buddhists and other groups. At that time, Japan had friendly relations with Korea and China’s Tang Dynasty. The capital was shifted twice. In 784, the capital was moved to Nagaoka and in 794 to Kyoto.