After the Republic of China under the Kuomintang (KMT) regained control of Taiwan in 1945, Mandarin was introduced as the official language and made compulsory in schools, despite the fact that it was rarely spoken by the local population. Many who had fled the mainland after the fall of the KMT also spoke non-standard varieties of Mandarin, which would later influence colloquial pronunciations.