The Wanli Emperor (simplified Chinese: 万历; traditional Chinese: 萬曆; pinyin: Wànlì; Wade–Giles: Wan-li) (4 September 1563 – 18 August 1620) was emperor of China (Ming dynasty) between 1572 and 1620. His era name means "Ten thousand calendars". Born Zhu Yijun, he was the Longqing Emperor's third son. His rule of forty-eight years was the longest in the Ming dynasty and it witnessed the steady decline of the dynasty.
Wanli ascended the throne at the age of 9. For the first ten years of his reign, the young emperor was aided by a notable statesman, Zhang Juzheng (張居正). Zhang Juzheng directed the path of the country and exercised his skills and power as an able administrator. At the same time, Wanli deeply respected Zhang as a mentor and a valued minister. However as Wanli's reign progressed, different factions within the government began to openly oppose Zhang's policy as well as his powerful position in government and courted Wanli to dismiss Zhang. By 1582, Wanli was a young man of 19 and was tired of the strict routine Zhang still imposed on the emperor since childhood. As such, Wanli was willing to consider dismissing Zhang but before Wanli was able to act, Zhang died in 1582. Overall during these 10 years, the Ming Dynasty's economy and military power prospered in a way not seen since the Yongle Emperor and the "Ren Xuan Rule" from 1402 to 1435. After Zhang's death, Wanli felt that he was free of supervision and reversed many of Zhang's administrative improvements. In 1584, Wanli issued an edict and confiscated all of Zhang's personal wealth and his family members were purged.