which dynasty was last
For example, the conventional date 1644 marks the year in which the Qing dynasty armies replaced the preceding Ming dynasty according to the dynastic cycle. However, the Qing dynasty was established in 1636 (or even 1616, albeit under a different name), while the last Ming dynasty pretender was not deposed until 1663. This change of ruling houses was a messy and prolonged affair, and the Qing took almost twenty years to extend their control over the whole of China.