Question: The Qing dynasty lasted through what time period?
Sentence: The Manchus then allied with former Ming general Wu Sangui and seized control of Beijing, which became the new capital of the Qing dynasty.
Answer in sentence: no