Tainan County
After the handover of Taiwan from Japan to the Republic of China in 1945, Yanshuei was organized as an urban township of Tainan County. On 25 December 2010, Tainan County was merged with Tainan City and Yanshuei was upgraded to a district of the city.