In 1895, Taiwan was ceded to Japan in the Treaty of Shimonoseki.
In 1945, when Japan relinquished control of Taiwan on 25 October 1945, Chiayi City was established as a provincial city of Taiwan Province.