After losing the Battle of Hakusukinoe in 663, Wakoku (later Japan) built defense facilities in various western regions to secure the country against Tang (China) and Silla (Korea).
663年の白村江の戦いに敗れた倭国は唐・新羅に対する防衛のため、西日本各地に防衛施設を築いた。