 Dynasties were often established before the overthrow of an existing regime, or continued for a time after they had been defeated.As a result, there have been many periods when different regimes claimed to speak for all of China.For example, the southern Song dynasty, the Jurchen Jin dynasty, the Khitan Liao dynasty, and the Tangut Western Xia all existed contemporaneously; likewise, the Manchu Qing China co-existed with Ming China from 1636 to 1644, while remnants of the Ming (known to historians as Southern Ming) continued governance in certain areas until 1683, when Ming forces on Taiwan surrendered to the Qing.