He also frequented the literary salons of the city, in particular that of Carlo Poerio, a proponent of constitutional liberalism who had just returned from exile, and he formed friendships with many figures at the heart of the Risorgimento, such as it:Giuseppe Massari, Pasquale Stanislao Mancini and it:Antonio Scialoja.
[1] After Italian unification, he was a deputy of the Kingdom of Italy in the IX, X, XI, XII and XIIIth legislatures.
[5][2] From the last part of the IXth legislature (December 1866) to the end of the XIth (September 1874) he was vice-president of the Chamber and president of the elections board.
He was, finally, president of the parliamentary commission of inquiry into the operations of the Tobacco Registry, established in summer of 1869, investigating corruption among parliamentarians in the contracting of the tobacco monopoly to a consortium of financiers, decided by the government led by Luigi Federico Menabrea in 1868.
Alfredo’ sister Elisa Codacci Pisanelli married Vito Sansonetti, university professor and jurist.