 While bishop, he was the principal consecrator of Juan de Necolalde, Bishop of Concepción (1716); José Luis Palos Bord, Coadjutor Bishop of Paraguay (1723); José Manuel de Sarricolea y Olea, Bishop of Córdoba (1724); and Pedro Morcillo Rubio de Suñón, Auxiliary Bishop of Lima (1724).In 1716, while he was archbishop of Charcas, King Philip V named him interim viceroy of Peru.On August 15 he entered Lima and replaced Mateo de la Mata Ponce de León, president of the "Audiencia".