Kyoto served as Japan’s capital from 794 to 1868. The capital moved to Tokyo in 1868, where it remains today.