After World War II, the civil war between the ruling Kuomintang and the Communist Party of China resumed, despite attempts at mediation by the United States. The Nationalist Government began drafting the Constitution of the Republic of China under a National Assembly, but was boycotted by the communists. With the promulgation of the constitution, the Nationalist Government abolished itself and was replaced by the Government of the Republic of China. Following their loss of the Civil War, the Nationalist Government retreated moved their capital to Taipei while claiming that they were the legitimate government of the mainland.