Initially appointed by the King, the Mayor of Cagliari was elected by the City council from 1899 to 1926. In 1926, the Fascist dictatorship abolished mayors and City councils, replacing them with an authoritarian "Podestà" chosen by the National Fascist Party. The office of Mayor was restored in 1944 during the Allied occupation.