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.
Catalan independence movement
A law creating an independent republic—in the event that the referendum took place and there was a majority "yes" vote, without requiring a minimum turnout—was approved by the Catalan parliament in a session on 6 September 2017. Opposition parties protested against the bill, calling it "a blow to democracy and a violation of the rights of the opposition", and staged a walkout before the vote was taken. On 7 September, the Catalan parliament passed a "transition law", to provide a legal framework pending the adoption of a new constitution, after similar protests and another walkout by opposition parties. The same day, 7 September, the Spanish Constitutional Court suspended the 6 September law while it considered an appeal from Mariano Rajoy, seeking a declaration that it was in breach of the Spanish constitution, meaning that the referendum could not legally go ahead on 1 October. The law was finally declared void on 17 October and is also illegal according to the Catalan Statutes of Autonomy which require a two third majority in the Catalan parliament for any change to Catalonia's status.