In 1578, Fujitaka HOSOKAWA, as instructed by Nobunaga ODA, conquered Tango Province by destroying Shugo Daimyo (Guardian Feudal Lord) Yoshimichi ISSHIKI; thus being allowed to control the area, Fujitaka first settled in Miyazu-jo Castle but later built Tanabe-jo Castle in Tanabe, Kasa Gun, which was strategically important for transportation and close to Kinai, in order to make it the center for governing the area of Tango Province.
1578年（天正6年）織田信長の命によって守護大名の一色義道を滅ぼし、丹後国を制圧した細川幽斎（幽斎）がこの地を与えられ、はじめは宮津城を居城としたが、畿内に近く交通の要所であった加佐郡田辺の地に、田辺城を築き、丹後経営の中心とした。