The area of Miyako was part of ancient
Buzen Province, and as implied by its name, it was the site of the
provincial capital and
Buzen Kokubun-ji, both of which are located in the Toyosu neighborhood of the town. During the
Edo Period, the area was part of the holdings of
Kokura Domain. In 1866, during the
Bakumatsu period, the forces of
Chōshū Domain attacked and burned down
Kokura Castle, forcing the domain to relocated its seat to a ''
jin'ya'' constructed in Toyosu. In the early
Meiji period, it was the location of a battlefield during the
Akizuki Rebellion of 1876. The villages of Isayama, Kubo, and Kuroda within
Miyako District, Fukuoka and the villages of Toyotsu, Harigo, Setsumaru, Higashisaikawa, Nishisaikawa, and Minamisaikawa within Nakatsu District, Fukuoka were established on May 1, 1889, with the creation of the modern municipalities system. Nakatsu District was absorbed by Miyako District in 1896. On February 1, 1905, Higashisaikawa, Nishisaikawa, and Minamisaikawa merged to become Saigawa Village, which was raised to town status on February 11, 1943. On April 10, 1943, Toyotsu annexed Setsumaru. Toyotsu then merged with Harigo on March 1, 1955, to from the town of Toyotsu. On the same day, Isayama, Kubō, and Kuroda merged to form Katsuyama Town. On March 20, 2006, Toyotsu, Saigawa, and Katsuyama merged to form the town of Miyako. ==Government==