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