Prime Minister Mariano Rajoy will chair an emergency cabinet meeting in response to Catalan leader Carles Puigdemont's announcement on Tuesday that he had accepted “the mandate of the people for Catalonia to become an independent republic” following a banned referendum earlier this month.
Rajoy has vowed to use everything in his power to prevent independence and has refused to rule out imposing direct rule over the semi-autonomous region — an unprecedented move many fear could lead to unrest.
At stake is the future of a region of 7.5 million people, one of Spain's economic powerhouses, whose drive to break away has raised concern for stability in the European Union.
Crowds of thousands gathered outside the parliament building in Barcelona on Tuesday evening, waving Catalan flags and banners screaming “democracy” in the hope of witnessing a historic night in a region that remains deeply divided over independence.
But Spain's political establishment rounded on Puigdemont following the declaration, and support among separatists in Catalonia was mixed.
Deputy prime minister Soraya Saenz de Santamaria told reporters shortly after the signing that Puigdemont was “a person who doesn't know where he is, where he's going or with whom he wants to go”.
Barcelona resident Maria Rosa Bertran said she was against a delayed secession.
“I find it even worse because it is suffering a longer agony. Indecision and uncertainty is the worst thing that can happen to us,” she told AFP.
Political leaders in Catalonia, Spain and Europe have come out against secession, concerned over the country's biggest upheaval since its transition to democracy in the 1970s.
Puigdemont and his allies signed an independence declaration outside the parliament chamber, but he then suspended it and again called for dialogue, a regional government spokesman told AFP.
Spain and Catalonia now enter into the unknown, as Madrid has repeatedly said independence is not up for discussion.
Marc Cazes, a student in Barcelona, said: “I did not expect independence to be declared today because of all the processes that the government of Spain has begun, both with police actions and with threats.”
Catalonia pressed ahead with an independence referendum on October 1 that the central government said breached Spain's constitution.
Around 90 percent of those who cast ballots voted for independence but the poll was poorly monitored and many Catalans opposed to secession boycotted what Madrid branded an illegal plebiscite.
The crisis has caused deep uncertainty for businesses in one of the wealthiest regions in the eurozone's fourth-largest economy.
Spain's stock market shed nearly 1.0 percent ahead of Tuesday's parliamentary session and a string of companies have already moved their legal headquarters — but not their employees — from Catalonia to other parts of the country.
Demands for independence in Catalonia, which has its own language and cultural traditions, date back centuries.
But a 2010 move by Spain's Constitutional Court to water down a statute that gave Catalonia additional powers, combined with a deep economic meltdown in Spain, sparked a surge in support for independence.