Taichung County
After the handover of Taiwan from Japan to the Republic of China in 1945, Yuanlin was made the capital of the newly established Taichung County. In 1950, Changhua and Nantou were separated from the county to form new counties. Being in Changhua County, Yuanlin ceased becoming the capital of Taichung County, and the new capital of Taichung County was given to Fengyuan Township. On 8 August 2015, Yuanlin was upgraded from an urban township into a county-administered city after the qualifying population level for city status was revised downwards from 125,000 to 100,000 people.