Prince Oama, who won the Jinshin War in 672, constructed the palace to put the capital back to Asuka from Omi no Miya in Omi Province (currently Shiga Prefecture) where was the capital during the periods of Emperor Tenchi and Emperor Kobun.
672年の壬申の乱に勝利し大海人皇子が、天智天皇・弘文天皇の都であった近江国（滋賀県）の近江宮から飛鳥に都を戻すべく造営した。