After the Treaty of Shimonoseki, Taiwan became a part of the Empire of Japan. Damage on the lighthouse from the First Sino-Japanese War was fixed in 1898 by the Japanese. In World War II, the lighthouse became damaged again during the Aerial Battle of Taiwan-Okinawa.