Heian-kyō, known today as Kyoto, was the capital of Japan during the Heian period (794-1185). This city became the center of aristocratic culture and literature, where the refined lifestyle of the nobility flourished, leading to significant developments in art, poetry, and courtly manners.