For 10 points, name this successor of Pius IX who issued Rerum novarum and reigned until 1903.
At the request of Sister Mary of the Divine Heart, this pope consecrated the entire world to the Sacred Heart of Jesus by issuing the Annum sacrum. He reportedly carried around a hipflask of wine fortified with cocaine, a product invented by Angelo Mariani. With his theologian brother Giuseppe, this former Bishop of Perugia promoted Thomism, assisted by his advisor Tommaso Maria Zigliara. He opened the Vatican Secret Archives to researchers, including Ludwig von Pastor. Known as the "Rosary Pope" for his championing of the rosary prayer, this man was the first pope to establish Mary as (*) Mediatrix. Among this pope's 85 encyclicals, more than any other pope, are the anti-Masonic Humanum genus and a manifesto on teaching scripture, Providentissimus Deus. This man also issued an encyclical on the "Rights and Duties of Capital and Labor," emphasizing the rights of the working class. For 10 points, name this successor of Pius IX who issued Rerum novarum and reigned until 1903. 
At the request of Sister Mary of the Divine Heart, this pope consecrated the entire world to the Sacred Heart of Jesus by issuing the Annum sacrum.
Leo XIII [accept Vincenzo Gioacchino Raffaele Luigi  Pecci; accept  Rosary Pope early]