BARCELONA (Reuters) - Protesters set cars on fire and threw petrol bombs at police in the Spanish city of Barcelona on Wednesday, intensifying unrest sparked by the sentencing of Catalan separatist leaders who had sought to declare an independent state.

Divisions over a drive to split the northeastern region of Catalonia from Spain roiled the country in 2017, and re-surfaced on Monday when the Supreme Court sentenced nine politicians and activists to up to 13 years in jail.

Peaceful demonstration throughout Wednesday deteriorated after nightfall into clashes between police and protesters, prompting regional government leader Quim Torra to demand an immediate return to normality.

“We condemn violence,” Torra said in a televised address after midnight, according to a translation of the Catalan language provided by Spain’s state broadcaster.

“We cannot let these incidents happen in our country. This has to stop right now.”

Police said Molotov cocktail petrol bombs and acid were thrown at officers. In some places, police charged at protesters and fired foam projectiles, Reuters witnesses said.

Acting Prime Minister Pedro Sanchez said the government would act firmly and proportionately, and in concert with other political parties.

“The Catalan people and all of Spanish society must know that the government is considering all scenarios,” Sanchez told a news conference in Madrid.

He added that the government had set up a special commission including the national intelligence agency to advise it on how to manage the situation.

Slideshow ( 35 images )

Sanchez will lead his Socialist Party to Spain’s second election this year on Nov. 10 under pressure from right-wing parties to be tougher on Catalonia and take control of the region’s security forces.

“Sanchez must impose direct rule on Catalonia,” said Albert Rivera, leader of liberal party Ciudadanos.

“MAKING NOISE”

Earlier on Wednesday, protesters blocked roads and train lines. Torra joined one march near the separatist stronghold of the town of Girona, which he later said was an example of the right way to protest the court decision.

At sunset, several thousand people, many of them young, congregated along a wide avenue in central Barcelona, waving pro-independence flags and throwing toilet paper in the air.

As the situation worsened, emergency services said 52 people had been treated in the course of the day for injuries sustained in Barcelona and other towns in the region.

Four people were detained without bail on Wednesday for their roles in skirmishes the previous night.

Isaac Graña, an 18-year-old student, said he thought protesters had burned containers because peaceful protests since 2012 had not achieved their goals.

Slideshow ( 35 images )

“Making noise is the only way to make people pay attention to us,” he said. “If Spain were a democratic state, people would not be jailed for wanting a vote,” he added.

Since Torra’s predecessor, Carles Puigdemont, held a referendum banned by Spanish courts, Catalonia has been closely watched by other European countries where there are also movements for independence, such as Scotland.

More than 4,000 companies have moved their headquarters out of Catalonia, including Catalan banks CaixaBank and Banco Sabadell.

Acting Economy Minister Nadia Calvino said growth in the euro zone’s fourth-largest economy, which has been outperforming its neighbors, would have been faster were it not for the impact of Catalonia’s independence bid.

La Liga, Spain’s top soccer league, asked the Spanish Football Federation to move a match scheduled between Barcelona and Real Madrid on Oct. 26 to Madrid because of the protests.

Spain is now trying for a third time to extradite Puigdemont, who has been living in self-imposed exile in Belgium. The Brussels prosecutor’s office said on Wednesday it had received the request, and it may take weeks to reach a decision.