BARCELONA, Spain — In a major escalation of Spain’s territorial conflict, Catalan lawmakers declared independence on Friday, setting up a showdown with the central government in coming days.
Undeterred by the government’s threat to seize control of Catalonia, separatists in the region’s Parliament passed a resolution to “create a Catalan republic as an independent state.” In protest, lawmakers opposed to independence walked out of the chamber before the vote.
Earlier on Friday, Prime Minister Mariano Rajoy urged the Spanish Senate to invoke Article 155 of Spain’s Constitution, allowing him to impose direct rule on Catalonia, as the country’s careened into its greatest constitutional crisis since it embraced democracy in 1978.
In his address to the Senate, Mr. Rajoy said there was “no alternative” because the Catalan leader, Carles Puigdemont, and his separatist cabinet had pursued an illegal and unilateral path that was “contrary to the normal behavior in any democratic country like ours.”
Carles Puigdemont, the Catalan leader, had come close on Thursday to calling early regional elections, but dropped the idea and instead told Catalonia’s Parliament that it would make a decision on independence the next day. Mr. Puigdemont leads a fragile separatist coalition that has 72 of the Catalan Parliament’s 135 seats.
During the parliamentary debate that preceded the vote, Catalan lawmakers traded accusations and in turn described the occasion as “historic” and “happy,” or “tragic” and a serious violation of Spain’s Constitution.
Addressing the Catalan Parliament in Spanish, Carlos Carrizo, a lawmaker from Ciudadanos, a party that opposes secession, told Mr. Puigdemont and separatist lawmakers that, far from creating a new Catalan republic, “you will go down in history for having fractured Catalonia and for sinking the institutions of Catalonia.”
In front of the assembly, he tore apart the document of the independence resolution.
“Your job is not to promise unrealizable dreams but to improve the daily lives of people,” he added.
In the streets outside Parliament, not far from a boisterous pro-independence rally, a few Catalans quietly expressed similar frustrations at the decision to declare independence.
The Oct. 1 referendum did not give the Catalan government the legitimacy to vote to secede, said Federico Escolar, 53, a cafe owner.
“Most of the people who would have voted ‘no’ did not participate,” Mr. Escolar said while smoking a cigarette outside his cafe. “It was not a proper referendum. It was illegal.”
Walking into a nearby subway station, Christina Juana, a 38-year-old social worker, agreed.
“Neither Puigdemont nor the Catalan government knows exactly what the Catalan people’s opinion is,” Ms. Juana said.
Mr. Puigdemont’s government has been flouting Spain’s Constitution since early September, when separatist lawmakers voted to hold a binding referendum on independence on Oct. 1 as a key step toward statehood.
Catalans who went to the polls voted overwhelmingly to approve independence, but the referendum took place without legal guarantees and with most opponents of independence staying away.
The referendum was marred by clashes between the Spanish national police and Catalan citizens that left hundreds injured, including police officers.
Before the independence vote, Marta Rovira, a separatist lawmaker, told the assembly that “today we start on a new path” to build “a better country.” She added: “We are creating a country free of repression.”
The Catalan lawmakers could face prosecution for sedition, or even rebellion, for having voted to declare independence.
They also met as the Spanish Senate was voting to allow Prime Minister Mariano Rajoy to end Catalonia’s administrative autonomy, using emergency powers under Article 155 of the national Constitution. Marta Ribas, a lawmaker, said that Madrid’s measures were unjustified, but also argued that “it’s a mistake to respond to one outrageous act with another outrageous act.”
She added: “A declaration of independence won’t protect us from the 155, quite the contrary.”
Before the vote for independence, large crowds had gathered outside the Catalan Parliament on Friday in anticipation of what they hoped would be a historic day for Catalonia.
Many were draped in flags as they watched the parliamentary debate on two large screens, cheering during speeches by pro-independence lawmakers and hissing during those of their opponents. When proceedings hit a lull, the crowds cycled through a series of pro-independence chants.
“Spanish occupiers!” was one, a reference to the national police officers who tried to stop the Oct. 1 referendum by force. “Leave Catalonia!”
“I feel very, very happy,” said Emili Ara, a 79-year-old retired realtor, who said he had hoped for Catalan independence for most of his life, even in the days when the concept had little widespread appeal.
“The people living here, both those who voted yes and those who voted no, will be able to see their sons and grandsons enjoy a much better future,” he added.
The optimism of Mr. Ara and his family was not dented by the prospect of the Spanish government’s moving to take over administration of the region.
“We have to declare independence even if we end up with less autonomy than we have now,” said Eulalia Ara, Mr. Ara’s 39-year-old daughter. “We can’t continue in this situation because we are being repressed by the Spanish state.”
And even “if they steal our Parliament and our government,” said Jordi Ara, Mr. Ara’s 18-year-old grandson, “we will still have our beliefs!”
Elsewhere in the crowd, separatist protesters saw little problem with declaring independence even though less than 43 percent of voters participated in the referendum.
“Two months ago, I would have said that 43 percent was not enough,” said Ester Romero, 25, a sales manager who had come to the rally after picking up her degree certificate.
“But after all the oppression, after all the police hitting people during the referendum, it’s enough.”