Task: Text Categorization
Input (English): dynasty won at the Battle of Ningyuan with Yuan Chonghuan commanding 10,000 troops against a force of over 60,000. This dynasty heavily relied on silver imports, but still forbade much naval trade with haijin because Wokou harassed the coastline. Although the first emperor of this dynasty, who was a former peasant, banned eunuchs from public participation, by the time of the Wanli emperor, eunuchs regained prominence. One emperor of this dynasty came to power twice, once as Zhengtong and again as Tianshun because he was captured by the Mongols. Although originally based in Nanjing, this dynasty's tombs are located near Beijing, the capital of this dynasty. Suffering the Tumu Crisis and ruled by the Zhu family, this dynasty's first emperor came to power as a leader of the Red Turban Rebellion to defeat the previous Yuan dynasty. For 10 points, name this last native Chinese dynasty.
Output (English): History