The dispute over Taiwan's status stems from a complex sequence of historical events:
Taiwan incorporated as a prefecture of Fujian Province (1683), later a separate province (1885). Firmly part of Chinese empire.
Qing defeated in First Sino-Japanese War. Treaty of Shimonoseki cedes Taiwan and Penghu to Japan "in perpetuity."
Allies (US, UK, China) issue Cairo Declaration: "All territories Japan stole from China—Manchuria, Formosa (Taiwan), Pescadores—shall be restored to the Republic of China (ROC)."
Japan surrenders (1945). ROC (Kuomintang/KMT government) accepts surrender, administers Taiwan. KMT loses civil war to Communists (CPC), retreats to Taiwan (1949). CPC establishes People's Republic of China (PRC) on mainland.
Both ROC (Taipei) and PRC (Beijing) claim sovereignty over all China, including Taiwan. US/UN recognize ROC as "China" until 1971.
UN switches recognition to PRC (1971). US establishes relations with PRC (1979), acknowledges "One China" position (Taiwan is part of China), but maintains unofficial ties with Taiwan (Taiwan Relations Act). PRC insists on eventual reunification; Taiwan (ROC) evolves into a vibrant democracy with distinct identity; independence sentiment grows.
De facto: Taiwan (ROC) is a self-governing democracy with its own military, currency, borders, and elected government. De jure: Sovereignty disputed. PRC claims Taiwan as a province; most countries recognize PRC but maintain unofficial relations with Taiwan. The dispute remains a major geopolitical flashpoint.