At first the election of Cardinal Braschi was blocked by Spain, Portugal and France because they saw him as a friend of the Jesuits- but when they realised that he dared not revoke the Brief of Suppression his path to the papacy was unblocked. He was Pope for 24 years which was a considerable length of time in those days. His papacy was marked by a struggle for authority with Temporal Powers. The Holy Roman Empire was then Joseph II of Austria. He suppressed many 'unnecessary' monasteries and forbid Austrian bishops from applying to Rome for faculties. This anti-papal reforms where mirrored in other countries in an era of emerging European Nationalism.
Perhaps his greatest conflict was with France. After the earth-shattering French Revolution, the Church which had been the biggest land owner lost all control over its property and ability to set tithes. This had a devastating impact on care of the poor, the sick and the orphaned. Soon all religious orders were dissolved, and monastic vows dissolved. The Civil Constitution of the Clergy (1790) turned all remaining clergy into employees of the State. These moves proved to be very unpopular and so to counter this, all clergy were forced to take a oath of loyalty to the Constitution. Pope Pius condemned these moves and as a result the Papal States were invaded by Napoleon, and eventually Rome was invaded too and declared a Republic. Pius was taken prisoner and was to die in captivity in France. His Body was eventually brought back to St Peters for burial.
It was a time of very complicated and hostile geopolitics for the papacy - in this context the Suppression of the Jesuits was only a subplot. Much credit can be given to Pius for his practical legacy. In response to the application of the clergy of the United States, the Bull of April, 1788, erected the See of Baltimore. He also put the papal finances on a firmer basis; drained the marshy lands near Città dellaPieve, Perugia, Spoleto, and Trevi; deepened the harbours of Portod'Anzio and Terracina; added a new sacristy to the Basilica of St. Peter; completed the Musee Pio-Clementino, restored the Via Appia; and drained the greater part of the Pontine Marshes.