 He joined the Spanish court, where he stayed for the remainder of his life.His duties as the queen's confessor meant he was unable to perform his duties in the cathedral of Segovia.In 1715 Pope Clement XI agreed to exempt him from the requirement to live in Segovia.