The Portuguese local elections of 2017 were held on October 1, 2017. The elections consisted of three separate elections in the 308 Portuguese municipalities, the election for the Municipal Chambers, whose winner was elected mayor, another election for the Municipal Assembly, as well an election for the lower-level Parish Assembly, whose winner was elected parish president. This last election was held in the more than 3,000 parishes around the country. The Socialist Party was the big winner of the elections consolidating their position as the largest local party in Portugal. The PS won 160 mayors, 10 more than in 2013, and more than 38% of the votes. The Socialists maintained control in cities like Lisbon, although here they lost their majority, Funchal and Coimbra, at the same time they gained some strong PSD bastions like Chaves or Mirandela. Nonetheless, the PS lost one of their bastions, Vila do Conde, to an independent. The strong nationwide results for the PS helped to legitimize António Costa's position as Prime Minister after his loss in the 2015 general elections. It was also the first time since 1985, that the party in government clearly won a nationwide local election. The Social Democrats, aside from CDU, were one of the big losers of the elections. They lost 8 cities in comparison to 2013, although, in term of votes won, they got basically the same number compared to 2013. The PSD achieved very bad results in Lisbon and Porto, polling third and below 15% of the votes. The worse than expected results led Pedro Passos Coelho to question, on election night, if he had the political ground to continue as leader of the party. Two days later, on October 3, Passos Coelho announced he would not stand for another term as PSD leader. The CDU was also one of the big losers of the election. The Communist-Green alliance achieved their worst results in history losing 10 cities, 9 to the PS and 1 to an independent, and polling below 10% of the votes. The CDU lost strong bastions in Setúbal district like Almada and Barreiro and wasn't able to hold on to Beja. The CDS-People's Party achieved very surprising results, especially in Lisbon. Assunção Cristas, CDS leader and candidate for Lisbon mayor, polled 2nd place and won 21% of the votes, 10 points ahead of the PSD. In the country as a whole, the CDS was able to gain one municipality from the PSD, Oliveira do Bairro, and was able to maintain the other 5 cities they won in 2013. Independent Movements also increased their scores compared to 2013. A total 17 independent candidates gained or maintained control in their respective cities, especially Rui Moreira, mayor of Porto, as he was able to win re-election with a majority. Smaller parties also made gains: Livre, in coalition with the PS, gained Felgueiras from the PSD, We, the Citizens! won Oliveira de Frades from a PSD/CDS coalition and JPP maintained control of Santa Cruz in the Madeira islands. Turnout in these elections increased compared with four years ago, with 55.0% of voters casting a ballot.
Electoral system
All 308 municipalities are allocated a certain number of councilors to elect corresponding to the number of registered voters in a given municipality. Each party or coalition must present a list of candidates. The lists are closed and the seats in each municipality are apportioned according to the D'Hondt method. Unlike in national legislative elections, independent lists are allowed to run. Council seats and Parish assembly seats are distributed as follows:
For parishes with more than 30,000 voters, the number of seats mentioned above is increased in one per 10,000 voters beyond that number (if, by applying this rule the result is even, the number of seats is increased in one more.
Parties
The main political forces that will be involved in the election are: