臺南州
In 1907, the construction of Alishan Forest Railway to Mount Ali was begun. In 1920, the city became an autonomous group as , Kagi District, within Tainan Prefecture, which included modern-day Tainan City, Chiayi County and Yunlin County. In 1930, the town was upgraded to an autonomous city under the same prefecture.