the ruling clans settled in 794 on a well-watered valley surrounded on three sides by mountains for their new capital city. They named it Heian-kyō—Capital of Heavenly Peace—although in later years it came to be known simply as Kyōto, literally, Capital City.