Catalan declaration of independence
On 27 October 2017, a resolution based on the "Declaration of the representatives of Catalonia" declaring the independence of Catalonia was voted in the Parliament and was approved with 70 votes in favor, 10 against, and 2 blank votes. Fifty-three MPs from the opposition refused to be present during the voting after the legal services of the Catalan Parliament advised that the voting could not take place, as the law on which it was based had been suspended by the Spanish Constitutional Court. The two pro-independence parties, JxSí and CUP, had 72 seats, and the vote in favour of independence obtained 70.
2017 Catalan regional election
After independence was declared by the Parliament of Catalonia on 27 October and Prime Minister Mariano Rajoy announced the Parliament's dissolution and a regional election for 21 December, pro-independence parties debated whether they should contest the election–thus abiding by Spanish law, and acknowledging independence did not take place–or boycott it and thus risk remaining absent from the Parliament in the next legislature.