In 1712, he was appointed nuncio to Paris. He locked horns with the Jansenists, led by Pasquier Quesnel in Paris, and was recalled after the death of Louis XIV of France in 1715.[1] He became cardinal in 1719,[1] and named legate for the province of Romagna until 1726. He was then named Spanish Minister Plenipotentiary at Rome, a position which he held until his death.[1] He is buried in the church of Santa Cecilia in Trastevere.[2]