Detailed Instructions: In this task you will be given a text passage from a trivia quiz. You should choose the category this question belongs to from these categories: History, Science, Social Science, Fine Arts, Literature. You can only choose one category, so if in doubt, please choose the closest match.
Q: During this dynasty, the emperor controlled the government directly, ruling with the aid of a specially appointed Nei-ko, or Grand Secretariat. Its second ruler, Jianwen, died in a mysterious palace fire during the revolt of his uncle Yongle, who ordered the construction of the Temple of Heaven and the Forbidden City and oversaw the seven voyages of Zheng He. It was founded by an orphan and Buddhist novice who took the ruling name Hong Wu after ousting the Yuan dynasty. FTP, what was this Chinese dynasty that ruled until the Qing took power in 1644
A:
History