Original: In 784 , the capital was moved again to Nagaoka to escape the Buddhist priests and then in 794 to Heian-kyo , present-day Kyoto .
Simplified: In 784 , the capital was moved to Nagaoka and in 794 to Kyoto .