The Heian Palace was the original imperial palace of Heian-kyō, the capital of Japan, from 794 to 1227.