Following the transfer of the national capital to the Heijo-kyo (an ancient capital of Japan in current Nara), Hoko-ji Temple was also transferred from Asuka to the new capital to become Gango-ji Temple (however, Hoko-ji Temple in Asuka remained in the original site to be today's Asuka-dera Temple).
法興寺は平城京遷都に伴って飛鳥から新都へ移転し、元興寺となった（ただし、飛鳥の法興寺も元の場所に残り、今日の飛鳥寺となっている）。