On 27 October 2017 the Catalan Parliament voted in a secret ballot to approve a resolution declaring independence from Spain by a vote of 70–10 in the absence of the constitutionalist deputies, who refused to participate in a vote considered illegal for violating the decisions of the Constitutional Court of Spain. As a result, article 155 of the Spanish constitution was triggered, the Catalan government was dismissed and direct rule was imposed from the central government in Madrid. Under direct rule from Spain, elections were held in Catalonia on 21 December 2017. The three pro-independence parties retained their control of parliament with a reduced majority of 70 seats and a combined 47.5% of valid votes cast. Ines Arrimadas' anti-independence Ciudadanos party was the most voted party with 25.4% of votes, the first time in Catalan history that a non-nationalist party won most votes and seats in an election. Parties which endorsed the suspension of autonomy by central government represented 43.5% of votes cast and parties which did not include independence in their electoral program amounted to 52.5% of the vote, notably Catcomu-Podem (7.5% of votes and 8 seats), which is opposed to independence but supports a legal referendum and denounced the suspension of autonomy. The excellent performance of the centre-right parties on both sides of the independence debate, Ciudadanos and Juntxcat, and the underperformance of all other parties (notably, left wing parties and the Partido Popular) were the most significant factor in this election result.