China and Taiwan split in 1949 during the Chinese civil war , and Beijing regards the self-ruled island as part of its territory .