Taiwan split from China amid a civil war in 1949 .