their political rights, as well as resident non-national European citizens and those whose country of origin allowed Spanish nationals to vote in their own elections by virtue of a treaty. Local councillors were elected using the D'Hondt method and a closed list proportional representation, with an electoral threshold of five percent of valid votes—which included blank ballots—being applied in each local council. Parties not reaching the threshold were not taken into consideration for seat distribution. Councillors were allocated to municipal councils based on the following scale: Councillors of municipalities with populations below 250 inhabitants were elected under an open list partial block voting, with electors voting for individual candidates instead of parties: for up to four candidates in municipalities with populations between 100 and 250 inhabitants; and for up to two candidates in municipalities below 100. This did not apply to municipalities which, as a result of their geographical location or the convenience of a better management of municipal interests or other circumstances, made it advisable to be organized through the open council system (), in which voters would directly elect the local major. The mayor was indirectly elected by the plenary assembly. A legal clause required that mayoral candidates earn the vote of an absolute majority of councillors, or else the candidate of the most-voted party in the assembly was to be automatically appointed to the post. In the event of a tie, a toss-up would determine the appointee. The electoral law allowed for parties and federations registered in the interior ministry, coalitions and groupings of electors to present lists of candidates. Parties and federations intending to form a coalition ahead of an election were required to inform the relevant Electoral Commission within ten days of the election call, whereas groupings of electors needed to secure the signature of a determined amount of the electors registered in the municipality for which they sought election: At least one percent of the electors in municipalities with a population below 5,000 inhabitants, provided that the number of signers was more than double that of councillors at stake. At least 100 signatures in municipalities with a population between 5,001 and 10,000. At least 500 signatures in municipalities with a population between 10,001 and 50,000. At least 1,500 signatures in municipalities with a population between 50,001 and 150,000. At least 3,000 signatures in municipalities with a population between 150,001 and 300,000. At least 5,000