What is the old name of Japanese city “Kyoto”?

What is the old name of Japanese city “Kyoto”?

A. Abuja
B. Nara
C. Lamy
D. Heiankyo