After the Five Days of Milan in 1848, he was Minister of War in the provisional government of Lombardy. As an inheritance that he received from his grandfather through his mother, Litta became the owner of the Palazzo Brentano in Corbetta which he lived occasionally, especially during the summer.