He led an abstemious life in Rome, maintaining himself by painting
Romantic landscapes which frequently included historical subjects. He also painted scenes for a self-composed opera. In 1830 he returned to Turin and, after his father's death in 1831, moved to
Milan. He resided in Milan for twelve years, moving in the city's literary and artistic circles and, in 1834, helped to organise the
Salotto Maffei salon, hosted by
Clara Maffei. He became an intimate of
Alessandro Manzoni the novelist, whose daughter he married. At that point, literature instead of art became his chief occupation; he produced two historical novels,
Niccolò dei Lapi and
Ettore Fieramosca, in imitation of
Walter Scott. The novels had a strong political context, with d'Azeglio aiming to illustrate the evils of foreign domination in Italy and to reawaken national feeling. 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). On the outbreak of the
First Italian War of Independence, d'Azeglio donned the Papal uniform and took part under General
Giovanni Durando in the defence of
Vicenza, where he was severely wounded. He retired to Florence to recover, but as he opposed the ruling democrats he was expelled from Tuscany a second time. He was now a famous man, and early in 1849 King
Charles Albert of Sardinia, invited him to form a cabinet. Realizing how impossible it was to renew the campaign, but "not having the heart to sign, in such wretched internal and external conditions, a treaty of peace with Austria" ('''', by E Rendu), he refused. ==Prime Minister of Sardinia==