At the end of 1943, the Cairo Declaration was issued, including among its clauses that all territories of China, including Formosa (Taiwan), that Japan had occupied would be returned to Republic of China. This declaration was reiterated in the Potsdam Declaration, issued in 1945. Later that year, World War II ended, and Japan accepted the Potsdam Declaration, surrendering unconditionally. The Supreme Commander of the Allied Forces commanded that the Japanese forces in Taiwan surrender to the government of the Republic of China, which acted as the representative of the Allied Forces. On 25 October 1945 in Taipei Zhongshan Hall, the Japanese government in Taiwan surrendered to the representative of the Republic of China, Chen Yi, the Republic of China formally receiving Taiwan. In 1951, Japan formally signed the Treaty of San Francisco, but, due to the unclear situation of the Chinese civil war, the peace treaty did not clearly indicate to whom Taiwan's sovereignty belonged. In the second article of the 1952 Treaty of Taipei, following the Treaty of San Francisco, Japan reiterated its abandonment of sovereignty of Taiwan, the Pescadores, the Spratlys and the Paracels.