The two split in a civil war that ended in 1949 .