According to "Yamatohime no mikoto seiki," the Toyosuki iribime no mikoto, who served for Amaterasu Omikami, visited Tanba Province to search for the place to enshrine, built the Yosa-no-miya Shrine in 59 B.C. and enshrined for four years.
『倭姫命世記』に、崇神天皇39年、天照太神を奉じた豊鍬入姫命が鎮座地を求めて但波（丹波）国へ遷幸し、吉佐宮を築いて4年間奉斎したと記す。