In 1845 d'Azeglio visited Romagna as an unauthorized political envoy, to report on its conditions and the troubles which he foresaw would break out on the death of Pope Gregory XVI. The following year he published his famous pamphlet "Degli ultimi casi di Romagna" at Florence; as a consequence of this he was expelled from Tuscany. He spent the next few months in Rome, sharing the general enthusiasm over the supposed liberalism of the new pope, Pius IX; like Vincenzo Gioberti he believed in an Italian confederation under papal auspices and was opposed to the Radical wing of the Liberal party. His political activity increased and he wrote various other pamphlets, among which was "I lutti di Lombardia" (1848).