垂仁天皇
Wakasa existed as a political entity before the "Ritsuryō" system and the implementation of the Taihō Code of the Nara period. Wooden shipping tags labelled "Wakasa" have been found in the ruins of Fujiwara-kyō. Per the "Nihon Shoki", ancient Wakasa was governed by a Kuni no miyatsuko, who was a descendant of Amenohiboko, a semi-legendary prince of Shilla, who settled in Tajima province during the reign of Emperor Suinin. There are archaeological indications that Wakasa was under control of the Yamato state from the mid-4th century. The province of Wakasa was formally established with the creation of the "Ritsuryō" provincial system around 701 AD, and initially consisted of the two districts of Onyū and Mikata. In 825 AD, Ōi was separated from Onyū.