The fort was built by the Japanese in 1904 after they landed in Keelung following the Treaty of Shimonoseki with Qing Dynasty. It had been used as a military facility and garrison was placed there after the handover of Taiwan from Japan to the Republic of China.