Original sentence: Gregory XVI made great expenditures for defensive, architectural and engineering works, and was a major patron of learning in the hands of Angelo Mai, Giuseppe Mezzofanti, Gaetano Moroni.However, these large expenditures left the Papal States much weaker financially speaking.The insurrections at Viterbo in 1836, in various parts of the Legations in 1840, at Ravenna in 1843 and Rimini in 1845, were followed by wholesale executions and severe sentences, hard labour or exile; still the Papal States continued to have considerable unrest
Edited sentence: The financial condition in which Gregory XVI left the States of the Church makes it questionable how far his expenditures for defensive, architectural and engineering works, and his magnificent patronage of learning in the hands of Angelo Mai, Giuseppe Mezzofanti, Gaetano Moroni and others, were for the real benefit of his subjects.The insurrections at Viterbo in 1836, in various parts of the Legations in 1840, at Ravenna in 1843 and Rimini in 1845, were followed by wholesale executions and severe sentences, hard labour or exile; still the Papal States seethed with unrest