Behind the relocation of the capital from Heijo-kyo (the ancient capital of Japan in current Nara) to Nagaoka-kyo (the ancient capital of Nagaoka) and Heian-kyo (ancient capital in current Kyoto) by Emperor Kanmu (737 – 806), there was the intention to avoid the influence of Nanto Buddhism temples which significantly interfered with the politics.
桓武天皇（737年-806年）が平城京から長岡京・平安京に遷都した背景には、政治への介入著しい南都仏教寺院の影響を避ける目的もあったとされる。