The gods enshrined in Hasshinden, except for the spirits of the past emperors which had been previously transferred, were temporarily moved to Kashikodokoro in the palace on April 25, 1872, the construction of Shinden (a shrine) and Korei-den (the Imperial Ancestors' Shrine) was completed on December 27, 1872, the eight gods were enshrined together with the gods of heaven and earth, and the spirits of the past emperors were moved form Kashikodokoro to Koreiden.
同年3月18日(旧暦)（4月25日）に先に遷座された歴代皇霊を除く八神殿の祭神は宮中賢所に仮遷座され、同年11月27日(旧暦)（12月27日）に神殿・皇霊殿が完成し、八神は天神地祇と併せて神殿に祭られ、歴代皇霊は賢所から皇霊殿に奉遷された。