Capital of Japan for more than a thousand years
I believe the answer is:
kyoto
(Other definitions for kyoto that I've seen before include "Japanese capital before 1868" , "nearby city" , "City of agreement on global warming" , "Old Japanese capital" , "Tokyo (anag) - former capital of Japan" .)