Context: The Heian period was preceded by the Nara period and began in 794 A.D after the movement of the capital of Japan to Heian-kyō (present day Kyōto京都), by the 50th emperor, Emperor Kanmu. Kanmu first tried to move the capital to Nagaoka-kyō, but a series of disasters befell the city, prompting the emperor to relocate the capital a second time, to Heian. The Heian Period is considered a high point in Japanese culture that later generations have always admired. The period is also noted for the rise of the samurai class, which would eventually take power and start the feudal period of Japan.

Question: What was the name of the period before the Heian era?
Answer: Nara

Question: The Heian period began in what year?
Answer: 794 A.D

Question: What warrior class rose during the Heian era?
Answer: samurai

Question: Heian-kyo is now what present-day city?
Answer: Kyōto

Question: What was the name of the emperor who moved Japan's capital to Heian?
Answer: Kanmu

Question: When did the Nara period begin?
Answer: Unanswerable

Question: Where was the capital of Japan prior to 794 A.D.?
Answer: Unanswerable

Question: Where did Emperor Kanmu try to move the capital after Heian-kyo?
Answer: Unanswerable

Question: Why have later generations always admired the Nara period?
Answer: Unanswerable

Question: What class declined in the Heian-kyo period?
Answer: Unanswerable