"After the fall of the Ming Dynasty, the "Ming Shilu" was used as a primary source for the compilation of the "Mingshi" ("History of Ming").The section (shilu) for each emperor was composed after the emperor's death by a History Office appointed by the Grand Secretariat using different types of historical sources such as