text: People react as they celebrate the unilateral declaration of independence of Catalonia outside the Catalan Parliament, in Barcelona, Spain, Friday, Oct. 27, 2017. Catalonias' regional Parliament passed... (Associated Press) 
   
   People react as they celebrate the unilateral declaration of independence of Catalonia outside the Catalan Parliament, in Barcelona, Spain, Friday, Oct. 27, 2017. Catalonias' regional Parliament passed a motion Friday to establish an independent Catalan Republic. (AP Photo/ Emilio Morenatti) (Associated Press) 
   
   BARCELONA, Spain (AP) — The Latest on the Spain-Catalonia political crisis (all times local): 
   
   4:15 p.m. 
   
   Spain's Senate has authorized the government to apply constitutional measures to take control of the government of Catalonia. 
   
   A majority of senators gave Spanish Prime Minister the go-ahead Friday to apply unprecedented measures including sacking Catalan regional President Carles Puigdemont and his cabinet. It also authorized him to curtail Catalan parliamentary powers. 
   
   The vote came shortly after the Catalan parliament itself voted in Barcelona to declare the region's independence and to begin forming a new state in a ballot boycotted by opposition deputies. 
   
   The Spanish government must now decide how and when to apply the measures. It says they are temporary and aimed at restoring legality in the northeastern region that is an economic powerhouse in Spain. 
   
   ___ 
   
   3:45 p.m. 
   
   Spain's prime minister has urged all citizens to remain calm after Catalonia's parliament approved a motion declaring the wealthy region a republic independent from Spain. 
   
   Mariano Rajoy made the appeal in a tweet Friday, minutes after the regional parliament, which has 135 seats, voted in a secret ballot that opposition Catalan lawmakers boycotted. The motion was passed in a 70-10 vote with two blank ballots. 
   
   Rajoy said: "I call on all Spaniards to remain calm. The rule of law will restore legality to Catalonia." 
   
   Rajoy's tweet came as the Spanish Senate in Madrid prepared to approve government proposals to take direct control of region Catalonia. A majority of senators were expected to give Rajoy the go-ahead to apply unprecedented measures including sacking Catalan regional President Carles Puigdemont and his cabinet. 
   
   ___ 
   
   3:40 p.m. 
   
   Thousands of people who have gathered outside Catalonia's parliament building in support of the region's independence bid cheered and danced after the parliament passed a motion saying it wanted to establish an independent Catalan Republic. 
   
   The crowds had watched the voting process and the counting live on big screens. 
   
   Regional President Carles Puigdemont and Vice President Oriol Junqueras exchanged congratulatory embraces and handshakes after the vote, which saw 70 out of 135 votes in favor of independence, 10 against and 2 blank ballots. Most opposition lawmakers had left the chamber in protest moments before the vote. 
   
   The two leaders were among the members of the regional government who cast votes in the parliamentary chamber Friday. 
   
   ___ 
   
   3:25 p.m. 
   
   Catalonia's regional parliament has passed a motion saying they are establishing an independent Catalan Republic. 
   
   Separatist lawmakers erupted in applause as the vote was approved with 70 votes in favor of independence, 10 against and 2 blank ballots. Most opposition lawmakers had left the chamber in protest moments before the vote. 
   
   Spain opposes the independence bid and the national government in Madrid is readying measures to take over control of the northeastern region. No country has expressed support for the secession bid. 
   
   The motion calls for beginning an independence process that includes drafting Catalonia's new top laws and opening negotiations "on equal footing" with Spanish authorities to establish cooperation. 
   
   ___ 
   
   3:20 p.m. 
   
   Catalonia's lawmakers have finished casting their votes in the regional parliament on whether to declare independence from Spain. 
   
   The vote in parliament is a secret ballot and lawmakers were being called up one by one to place their paper vote in a transparent ballot box. 
   
   Opposition lawmakers had walked out of the chamber ahead of Friday's vote in protest. Secessionists hold a slim majority in the parliament. 
   
   It wasn't immediately clear how long the vote would take to count. 
   
   ___ 
   
   3 p.m. 
   
   Dozens of opposition lawmakers have walked out of the Catalan parliament chamber ahead of a key vote on independence from Spain. 
   
   Legislators from the opposition Socialists and Citizens parties had announced earlier that they would boycott the vote on the establishment of a new Catalan Republic in a motion proposed by the majority separatists. 
   
   Lawmakers from Partido Popular — the ruling party at the national level, but a minority in Catalonia — also walked out after placing Spanish and Catalonia official flags in their empty seats. 
   
   The voting of the motion would be conducted by secret ballot after the ruling separatist coalition made a last minute-request that the parliament's speaker accepted. 
   
   ___ 
   
   2:25 p.m. 
   
   The spokesman for the radical-left secessionist CUP party says that Catalonia is poised to exercise what separatists call the Spanish region's right to self-determination. 
   
   Carles Riera of CUP says "Today we are ready to make a historic step . Today we become a political entity with right to self-determination and we are exercising it." 
   
   The Catalan parliament is set to vote on declaring independence from Spain in Friday's session of the regional parliament, where separatists hold an advantage in seats. 
   
   ___ 
   
   2:05 p.m. 
   
   A socialist lawmaker in the Catalan parliament has lambasted separatists for bending national and regional laws to move toward declaring independence and vowed to work "for the return of legality to public institutions." 
   
   Spokeswoman Eva Granados says that the legislators of the Socialists of Catalonia Party, or PSC, will be absent from the vote on a proposal to establish a new republic. Conservative unionist parties in the opposition have also promised to leave the chamber. 
   
   Granados said the separatists are "thoughtless" and asked them why to build a new country based on a concept of democracy that is "intolerant and sectarian," and that excludes those who oppose independence. 
   
   The ruling separatist coalition and far-left anti-establishment lawmakers hold a slim majority in the Catalan parliament that would in theory allow them to pass a motion to move toward independence. 
   
   Spain has vowed to stop any attempt at secession. 
   
   ___ 
   
   1:50 p.m. 
   
   The spokesman for the leading opposition party in Catalonia's parliament has torn into pieces a copy of the proposal by separatists to declare independence for the region from the rest of Spain. 
   
   Carlos Carrizosa, spokesman for the pro-union Citizens party, has ripped up the copy of the proposed law to declare independence during Friday's debate prior to an expected vote in Catalonia's parliament. 
   
   Carrizosa says "with this paper you leave those Catalans who don't follow you orphaned without a government, and that's why Citizens won't let you ruin Catalonia." 
   
   He added that "today is a sad, dramatic day in Catalonia. Today is the day that you (secessionists) carry out your coup against the democracy in Spain." 
   
   Secessionists hold a slim majority in the parliament based on less than half the vote due to Spanish elections law which gives more representation to sparsely popular areas. 
   
   ___ 
   
   1:20 p.m. 
   
   Several hundred Catalan town mayors have joined in a chant for "Independence!" inside Catalonia's regional parliament building. 
   
   The show of support for secession comes hours before the Catalan parliament is expected to vote on a proposal to break with the rest of Spain and form an independent republic. 
   
   The mayors shouted and raised their ceremonial wooden staves that represent their position as heads of municipalities in the northeastern region of Spain. 
   
   Ramon Moliner, the mayor of Alp, in the northern Pyrenees region, said Friday was a historic day. "We are beginning a new chapter as a country, a very uncertain stage in many ways but very exciting," he said. 
   
   Spain has vowed to stop any attempt of secession. 
   
   ___ 
   
   11:50 a.m. 
   
   Catalan separatist lawmakers have filed a motion to hold a vote in the upcoming regional parliament session on whether to establish a republic independent of Spain. 
   
   The proposal of the ruling Catalan coalition Junts pel Si (Together for Yes) and their allies of the far-left CUP party says that "We establish a Catalan Republic as an independent and sovereign state of democratic and social law." 
   
   Lawmakers from both parliamentary groups have a slim majority that would in theory allow them to pass the motion during a vote later Friday, if the parliament's advisory board allows it. 
   
   The move is opposed by all the opposition in the prosperous region —with some opposition lawmakers saying they will boycott the vote— and in Spain, where authorities are seeking to sack the Catalan ruling coalition to halt their secession bid. 
   
   ___ 
   
   11:25 a.m. 
   
   Several thousand protesters have gathered near Catalonia's regional parliament before a debate in the legislature where independence from Spain might formally be declared. 
   
   Waving Catalan flags and chanting "independence" and "freedom," the demonstrators rallied outside the park in which parliament is located, hoping to see the proclamation of a new independent state by the end of the day. 
   
   A 68-year-old protester, Jordi Soler, says that "I am here today because we will start the Catalan Republic." 
   
   Soler said that "today is the last chance," noting that Catalan president Carles Puigdemont had offered to negotiate with the central government in Madrid, "but Madrid is starting with total repression and there is no longer any (other) option." 
   
   Puigdemont on Thursday ruled out calling a regional election, which might have somewhat defused Spain's worst political crisis in decades, setting the stage for a showdown with Madrid. 
   
   ___ 
   
   10:45 a.m. 
   
   Spain's prime minister says that the special powers that the central government wants to impose in Catalonia aren't meant to take away liberties of Catalans but to protect them. 
   
   Mariano Rajoy was addressing the Senate ahead of a vote on whether to activate constitutional powers to seize control of Catalonia's autonomous powers in a bid to halt the region's independence bid. 
   
   Rajoy says that Spain is facing a challenge not seen in its recent history. Catalonia's regional parliament is also expected to hold a special session later Friday in which a formal declaration of independence may be made. 
   
   ___ 
   
   10:25 a.m. 
   
   Spain's prime minister says the government's first move will be to dismiss Catalonia's president if special powers are granted by the country's Senate. 
   
   Mariano Rajoy was addressing the chamber ahead of a vote on whether to activate constitutional powers to seize control of Catalonia's autonomous powers in a bid to halt the region's independence bid. 
   
   Rajoy says if the measures are approved, Spain's government will fire Catalonia regional President Carles Puigdemont and his ministers. 
   
   The Spanish leader said "what is happening in Catalonia is "a clear violation of the laws, of democracy, of the rights of all, and that has consequences." 
   
   Rajoy said that the measures were the only way out of the crisis. Catalonia's regional parliament is also expected to hold a special session later Friday in which a formal declaration of independence may be made. 
   
   ___ 
   
   10 a.m. 
   
   Spain's Senate has begun a crucial meeting to approve the Spanish government's plans to strip away Catalonia's regional powers and halt it pushing toward independence. 
   
   Prime Minister Mariano Rajoy was greeted with applause as he entered the chamber Friday. 
   
   The government's proposals include removing the Catalan government's regional leaders from office and curtailing the authority of the region's parliament. 
   
   Meanwhile, up in the Catalan capital of Barcelona, the regional parliament was to resume debating its response to the Spanish government's plans. 
   
   The Catalan government rejects the move and there is speculation the parliament may actually take the step of declaring independence from Spain later Friday, setting the stage for a deepening clash between both sides. 
   
   ___ 
   
   9:25 a.m. 
   
   Two crucial meetings will take place in Spain that could decide the short-term future of a country undergoing its worst political crisis in decades. 
   
   Catalonia's parliament on Friday will resume debating its response to the Spanish government's plans to strip away its regional powers to halt it pushing toward independence. But in Madrid, Spain's Senate meets to approve the government's plans and set the intervention in motion. 
   
   The government's proposals include removing the Catalan government's regional leaders from office and curtailing the authority of the region's parliament. 
   
   The Catalan government rejects the move and there is speculation the regional parliament may actually take the step of declaring independence from Spain later Friday. ||||| Protesters wave a Catalan flag during a rally outside the Catalan parliament in Barcelona, Spain, Friday, Oct. 27, 2017. Catalonia's parliament on Friday will resume debating its response to the Spanish... (Associated Press) 
   
   Protesters wave a Catalan flag during a rally outside the Catalan parliament in Barcelona, Spain, Friday, Oct. 27, 2017. Catalonia's parliament on Friday will resume debating its response to the Spanish government's plans to strip away its regional powers to halt it pushing toward independence.(AP Photo/Santi... (Associated Press) 
   
   BARCELONA, Spain (AP) — Catalonia's regional parliament passed a motion Friday to establish an independent Catalan Republic, voting to secede from Spain after an acrimonious debate that saw opposition lawmakers walk out in protest before the vote. 
   
   The vote in Barcelona came after Spanish Prime Minister Mariano Rajoy delivered an impassioned speech in Madrid, urging the country's Senate to grant his government special constitutional measures that would allow it to take control of Catalonia's autonomous powers and halt the region's independence bid. 
   
   The vote was approved with 70 in favor of independence, 10 against and two blank ballots in Catalonia's 135-member parliament. 
   
   Rajoy immediately called for calm despite the vote, which Spain is deeply set against. No country in the world has expressed support for independence for Catalonia, a region in northeastern Spain that has 7.5 million people. 
   
   "I call on all Spaniards to remain calm. The rule of law will restore legality to Catalonia," he said on Twitter. 
   
   Separatist lawmakers in the regional parliament erupted in applause and chants when the chamber's main speaker, Carme Forcadell, announced the passing of a motion to declare the region's independence. 
   
   The lawmakers stood to chant the Catalan official anthem, joined by dozens of guests. Regional President Carles Puigdemont and his vice president, Oriol Junqueras, exchanged congratulatory embraces and handshakes following the ballot. 
   
   Outside, thousands who had gathered near the parliament building to call for independence cheered, with some dancing and raising glasses after seeing the vote and the counting live on a giant screen. 
   
   The motion that passed calls for beginning an independence process that includes drafting Catalonia's new top laws and opening negotiations "on equal footing" with Spanish authorities to establish cooperation. 
   
   Hours earlier in Madrid, Rajoy made his case for measures to keep Spain unified. The conservative leader, who received sustained applause before and after his speech, told the chamber that Spain was facing a challenge not seen in its recent history. 
   
   What is happening in Catalonia is "a clear violation of the laws, of democracy, of the rights of all, and that has consequences," he said. 
   
   Rajoy said his government's first move would be to dismiss Puigdemont and his regional ministers if the Senate approves the Spanish government's use of Article 155 of the Constitution in a vote later Friday. 
   
   The special measures, he said, were the only way out of the crisis, adding that Spain wasn't trying to take away liberties from the 7.5 million Catalans but instead trying to protect them. 
   
   Rajoy says the measures to take over Catalan affairs are aimed at restoring order and has promised to call a new regional election once that is achieved. 
   
   If Rajoy's measures are granted, it will be the first time in four decades of democratic rule that the national government in Madrid would directly run the affairs of one of Spain's 17 semi-autonomous regions, a move that will likely fan the flames of the Catalan revolt. 
   
   Rajoy's conservative Popular Party has an absolute majority in the Senate, thus guaranteeing the approval of his proposals. But he has also sought support from the country's main opposition parties. It will then be up to the government when to implement the measures taking over the Catalan government. 
   
   Catalonia represents a fifth of Spain's gross domestic product and polls show its people roughly evenly divided over independence. 
   
   In Barcelona before the vote, about 500 mayors of Catalan towns chanted "independence!" and raised their ceremonial wooden staves in a hall inside the regional parliament. 
   
   The proposal that was approved had been submitted by the ruling Catalan Together for Yes coalition and their allies in the far-left CUP party. It states that "we establish the Catalan Republic as an independent and sovereign state of democratic and social rule of law." 
   
   "Today is the day that many Catalans' long-held desire will be fulfilled, but tomorrow the cruel reality will set in with the Spanish state armed with its interpretation of Article 155," the former speaker of the Catalan parliament Joan Rigol i Roig, told The Associated Press. "We can only hope that the conflict remains in the political realm." 
   
   The independence move was opposed by all opposition lawmakers in the prosperous region. 
   
   Carlos Carrizosa, spokesman for the pro-union Citizens party, the leading opposition party in Catalonia's parliament, ripped a copy of the proposal into pieces during the debate ahead of the vote. 
   
   "With this paper, you leave those Catalans who don't follow you orphaned without a government. And that's why Citizens won't let you ruin Catalonia," he said. "Today is a sad, dramatic day in Catalonia. Today is the day that you (secessionists) carry out your coup against the democracy in Spain." 
   
   Marta Ribas of the leftist Catalonia Yes We Can party said "two grave errors" were being committed Friday. 
   
   "First, the Article 155 which will take away our rights and impact all the country. But it is a grave error to respond to that barbarity with an even bigger error," she said. "The unilateral declaration of independence won't protect us against Article 155, you will only make the majority of people suffer." 
   
   Before the parliament session, large crowds of independence supporters gathered outside in a Barcelona park, waving Catalan flags and chanting slogans in favor of a new state. 
   
   "I am here today because we will start the Catalan Republic," said 68-year-old protester Jordi Soler. "Madrid is starting with total repression — and there is no longer any (other) option." 
   
   Puigdemont scrapped hopes of a possible end to the political deadlock on Thursday when he opted not to call an early election and halt the drift toward independence. 
   
   ___ 
   
   Giles reported from Madrid. Elena Becatoros and Joseph Wilson in Barcelona contributed.
target: – Catalonia's regional parliament passed a motion Friday to establish an independent Catalan Republic, voting to secede from Spain after an acrimonious debate that saw opposition lawmakers walk out in protest before the vote, the AP reports. The vote in Barcelona was approved with 70 in favor of independence, 10 against, and two blank ballots in Catalonia's 135-member parliament. Shortly after the vote, Spain's Senate authorized the government to apply constitutional measures to take control of the government of Catalonia. A majority of senators gave Spanish Prime Minister Mariano Rajoy the go-ahead Friday to apply unprecedented measures including sacking Catalan regional President Carles Puigdemont and his cabinet. It also authorized him to curtail Catalan parliamentary powers. The Spanish government must now decide how and when to apply the measures. It says they are temporary and aimed at restoring legality in the northeastern region that is an economic powerhouse in Spain. "I call on all Spaniards to remain calm. The rule of law will restore legality to Catalonia," Rajoy said on Twitter. Separatist lawmakers in the regional parliament erupted in applause and chants when the chamber's main speaker announced the passing of the motion. Outside, thousands who had gathered near the parliament building cheered, with some dancing and raising glasses after seeing the vote and the counting live on a giant screen. No country in the world has expressed support for independence for Catalonia, a region in northeastern Spain that has 7.5 million people.