On 9 December 1685, the Count of San Segundo near Parma commissioned from Ricci the decoration of the Oratory of the "Madonna of the Seraglio", which he completed in collaboration of Ferdinando Galli-Bibiena by October 1687, receiving a payment of 4,482 Lira. In 1686, the Duke Ranuccio II Farnese of Parma commissioned a "Pietà" for a new Capuchin convent. In 1687-8 Ricci decorated the apartments of the Parmense Duchess in Piacenza with canvases recounting the life of the Farnese pope, Paul III.