The Wanli Emperor (4 September 1563 – 18 August 1620), personal name Zhu Yijun, was the 14th emperor of the Ming dynasty, reigning from 1572 to 1620. He succeeded his father, the Longqing Emperor. His reign of 48 years was the longest of the Ming dynasty.
The Wanli Emperor ascended the throne at the age of nine. During the first ten years of his reign, Grand Secretary Zhang Juzheng effectively led the government, while the Emperor's mother, Lady Li, and the eunuch Feng Bao also played significant roles. The country experienced economic and military prosperity, reaching a level of power not seen since the early 15th century. The Emperor held great respect and appreciation for Zhang Juzheng, but as time passed, various factions within the government openly opposed Zhang, and the Emperor started to consider his influential position a burden. In 1582, Zhang died and within months, the Emperor dismissed Feng Bao and made significant changes to Zhang's administrative arrangements.