He joined the Italian Communist Party in 1944 and is elected for the first time to the city council of Bologna in 1956. In 1970, Zangheri is elected Mayor of Bologna and guided the city in the difficult Years of Lead: in those years, the city faced several fascist attacks, such as the Italicus Express bombing, the murder of activist Francesco Lorusso and the 1980 massacre in the Bologna station.