In 1912, the Qing dynasty was overthrown by the Sun Yat-sen and the Kuomintang, a nationalist party, and the Republic of China established. Over time, Marxist ideas grew popular and the Communist party was formed.