The Heian period (平安時代, Heian jidai?) is the last division of classical Japanese history, running from 794 to 1185. What Japanese dynasty was named after the city of Heian-kyo?