premise: These districts on the west and north sides of Kyoto are home to most of the city's major temples, set within the surrounding greenery and mountains that prompted the Emperor Kammu to select this site for his new capital, Heian-kyo, in 794.
hypothesis: The Emperor Kammu had to choose a new capital because the previous one was sacked by invaders.