Treaty of Shimonoseki
China, during the Qing Dynasty, ceded the island of Taiwan, including Penghu, to Japan "in perpetuity" at the end of the First Sino-Japanese War by signing the Treaty of Shimonoseki.