Answer
The Wanli Emperor, the 13th emperor of the Ming Dynasty, was the ruler who sought the expertise of the renowned Jesuit missionary Matteo Ricci in the field of astronomy. Ricci's knowledge and skills in astronomical observation and calculation greatly impressed the emperor, leading to his prominence as a trusted advisor and collaborator in matters related to celestial phenomena and calendar accuracy.