In his second attempt, Matteo Ricci was able to gain access to the Forbidden City. Over the next century, the Jesuits came to surprising influence in China through their knowledge of European astronomy, though this journey was not without its perils.