The imperial rulers moved the capital to Kyoto originally to escape from the growing domination of the Buddhist authorities of Nara .
Kyoto used to be an important city when it was the capital of the empire .