Born in Rome of a family from Gubbio in Umbria who had come to Rome during the pontificate of Pope Innocent IX, Pamphili was trained as a lawyer and graduated from the Collegio Romano. He followed a conventional cursus honorum, following his uncle Girolamo Pamphili as auditor of the Rota, and like him, attaining the position of cardinal-priest of Sant'Eusebio. Before becoming pope, Pamphili served as a papal diplomat to Naples, France, and Spain.
Born in Rome of a family from Gubbio in Umbria who had come to Rome during the pontificate of Pope Innocent IX, Pamphili was trained as a lawyer and graduated from the Collegio Romano. He followed a conventional cursus honorum, following his uncle Girolamo Pamphili as auditor of the Rota, and like him, attaining the position of cardinal-priest of Sant'Eusebio. Before becoming pope Pamphili served as a papal diplomat to Naples, France, and Spain.