After the
Fujiwara no Hirotsugu rebellion, the capital was moved from
Heijō-kyō by decree of
Emperor Shōmu on December 15, 740. The new site was located in
Soraku County,
Yamashiro Province; nevertheless, its official name was "Yamato no Kuni no Omiya." The reason for choosing this location may have been because it was the stronghold of the
Udaijin Tachibana no Moroe, who had de facto power over the "
dajō-kan" or "Great Council". In September 741, the layout of the new capital was decided, and in November the official name "Daiyotoku Kuninomiya" was decided upon. The
Daigokuden was dismantled and relocated from Heijō-kyō, the Ōmiya fence was constructed, and the palace was built. The grid-like land was laid out, and a large bridge was built over the
Kizu River. The area of the palace is estimated to have been 560 meters wide east-to-west and 750 meters long north-to-south. The narrow valley to the west and the floodplain of the Kizu River to the east geographically restricted the size of Kuni-kyō to an area smaller than Heijō-kyō. For reasons which remain unclear, Kuni-kyō was not completed. Emperor Shōmu moved the capital to the present-day city of
Kōka,
Shiga Prefecture, more specifically the in 744, only four years later. Emperor Shōmu moved the capital yet again to
Naniwa-kyō (
Osaka), The preference of Shigaraki as the capital over Kuni-kyō possibly points to the rival
Fujiwara clan mounting a comeback,
Archaeological excavations have so far (as of 2006) revealed key buildings, laid out following the Chinese pattern, such as the
Daigokuden (大極殿) and
Dairi (内裏). However, no remains of the grid system of streets have been confirmed Miniature Model of Yamashiro Provincial Temple.jpg|Miniature Model of the Yamashiro Kokubun-ji Kunikyo-ato, Daigokuden-1.jpg|Site of Kuni-kyō's Daigokuden Kunikyo-ato, Daigokuden-soseki.jpg|Foundation stone for the Yamashiro Kokubun-ji Kondo Yamashiro Kokubunji-ato, tou-2.jpg|Foundation stone for the Yamashiro Kokubun-ji Pagoda 山城国分寺跡出土 造営時瓦.JPG|Roof tiles from the Kuni-kyō site ==Yamashiro Kokubun-ji==