Capital of Japan from 794-1868 (5)
I believe the answer is:
kyoto
(Other definitions for kyoto that I've seen before include "City of agreement on global warming" , "nearby city" , "Japanese city of treaty on climate change" , "Former Japanese capital city - Tokyo (anag)" , "Japanese capital before 1868" .)