CATALONIA’S regional parliament has approved a plan to set up a road map for independence from Spain by 2017, in defiance of the central government.

The chamber, based in Barcelona, passed the motion by 72 votes to 63.

The proposal was made by pro-secession politicians from the Together For Yes alliance and the extreme left-wing Popular Unity Candidacy (CUP). The groups together obtained a parliamentary majority in regional elections in September.

The Spanish government reacted swiftly. In a nationally televised address, Prime Minister Mariano Rajoy said that his government will appeal against the decision at the Constitutional Court, which has in the past blocked moves towards independence.

Rajoy said: “Catalonia is not going anywhere, nothing is going to break.” He added he would meet with the leader of the main opposition Socialist Party, Pedro Sanchez, to forge a common front against the separatists.

The motion passed by the parliament in its first post-election session declared “the start of a process towards the creation of an independent Catalan state in the form of a republic” and a “process of democratic disconnection not subject to the decisions by the institutions of the Spanish state”.

While separatist politicians celebrated the result in the chamber, opponents held up Spanish and Catalan flags.

Raul Romeva, head of the Together For Yes alliance, said at the start of the session: “There is a growing cry for Catalonia to not merely be a country, but to be a state with everything that means. Today we don’t only open a new parliament, this marks a before and after.”

Catalan branches of Spain’s ruling conservative Popular Party and the Socialist and the Citizens opposition parties had filed appeals to halt the vote, but the Constitutional Court ruled last Thursday that it could go ahead.

Citizens regional leader Ines Arrimadas told separatist politicians: “You want to divide a country by raising a frontier within the European Union.”

The Constitutional Court is expected to quickly rule that the plan is illegal – but the motion specifically orders the regional government not to heed the decision of Spain’s highest court.

The motion gives the incoming government 30 days to start working on a new Catalan constitution, which would later be voted on in a referendum, and begin establishing a new tax office and social security administration.

Pro-secessionist parties won their majority of 72 seats in September on the strength of just 48 per cent of the votes. That was because of a twist in Spanish election law that over-represents rural areas – where separatists have more support.

Anti-independence politicians say that quirk denies separatists a legitimate democratic mandate to break away from Spain.

As well as warnings from the EU that an independent Catalonia would have to ask to be admitted to the bloc, separatist forces also face an internal dispute that could slow or even derail the independence push.

Last night the parliament was due to begin what was expected to be a long and heated investiture debate over whether Artur Mas should continue for a third term as the region’s head of government.

While his Together For Yes alliance backs him with 62 votes, it is short of the required majority of 68.

The anti-independence parties are against him, and the CUP has said it will not support Mas because of his conservative austerity policies and the corruption investigations involving his Convergence Party.

The parliament has until January 9 to form a government or new elections must be called.

By then, Spain will have held national elections, and the issue of how to handle the situation in Catalonia will play a crucial role in whether Rajoy’s Popular Party can hold on to power.

Polls consistently show that while the majority of the 7.5 million Catalans support holding an official referendum on independence, they are evenly divided over whether to break centuries-old ties with the rest of Spain.