The President of the Republic of China is the head of state and Commander-in-Chief of the democratic country known officially as the Republic of China. The Republic of China government has controlled Taiwan, Penghu, Kinmen, Matsu and other islands after the Nationalist lost the war and moved the government from mainland China in 1949. 