On October 1949 in Beijing the communist forces that led by Mao Zedong, eventually managed to defeat the Nationalist Kuomintang (KMT) that commanded by Chiang Kai-shek in the civil war this incident was also known as the Chinese Communist Revolution or Xinhai Revolution.Â
After being defeated by the Chinese Communist Party that led by Mao Zedong, they are forced to retreat and managed to escaped to the Taiwan Island. In December 1949, Taiwan formed their own government in Taipei and cut off contact with mainland China.
 Taiwan even maintains diplomatic relations with the United States. After Taiwan succeeded in becoming an ally and made a substantial agreement  but also nondiplomatic with the United States in 1950.Â
Taiwan that is still at war with the Chinese Communists in Korea on diplomatic regocnition. Was assisted by the United States by deploying a fleet in the Taiwan Strait to protect it's ally from possible mainland Chinese attacks.Â
Even though Taiwan has formed their own government in Taipei and trying to reach United States as their ally, the Chinese Communist still not recognizing the sovereignty of taiwan itself. And even still thinks that Taiwan is a rebel that trying to break away.
There is disagreement and confusion about what Taiwan is. It has its own constitution, democratically-elected leaders, and about 300,000 active troops in its armed forces.
Chiang's ROC government-in-exile at first claimed to represent the whole of China, which it intended to re-occupy. It held China's seat on the United Nations Security Council and was recognised by many Western nations as the only Chinese government.
But by the 1970s some countries began to argue that the Taipei government could no longer be considered a genuine representative of the hundreds of millions of people living in mainland China.
Then in 1971, the UN switched diplomatic recognition to Beijing and the ROC government was forced out. In 1978, China also began opening up its economy.Â
Recognising opportunities for trade and the need to develop relations, the US formally established diplomatic ties with Beijing in 1979.