Which of the following city is the former capital of Japan?

Which of the following city is the former capital of Japan?

A. Osaka
B. Hiroshima
C. Kobe
D. Kyoto