BARCELONA, Spain (AP) — Masses of flag-waving demonstrators demanding Catalonia’s independence and the release from prison of separatist leaders jammed downtown Barcelona on Friday as the northeastern Spanish region endured its fifth straight day of unrest.More than a half million protesters, including families with children, marched in the Catalan capital, according to local police. Many were clad in pro-independence ‘estelada’ flags and shouted “Independence!” and “Freedom for political prisoners!”Some of them had walked for three days in five massive “freedom marches” from towns across the northeastern Spanish region. They converged on Barcelona, a city of 1.6 million people, and joined students and workers who also took to the streets during a 24-hour general strike.More than 200 people have been injured and nearly 100 arrested since separatist sentiment surged on Monday, when the Supreme Court sentenced to lengthy prison terms nine separatist politicians and activists. The nine had led a 2017 push for independence that triggered Spain’s deepest political crisis in decades.This week’s huge show of support at times turned violent, with some protesters and riot police fighting running battles.On Friday, the demonstrations were mostly peaceful, though police clashed with a few hundred young protesters who hurled bottles, eggs and paint at the gates of the police headquarters in the center of the city. Large trash containers were burned before police responded by shooting rubber bullets to disperse the crowds.Thousands of pro-independence Catalans protest outside Barcelona´s iconic Sagrada Familia basilica, blocking entrances and making it impossible for visitors to see the city’s most popular touristic site. (AP Video/Renata Brito) Albert Ramón, a 43-year-old public servant joining a Friday rally in the northern city of Girona, said the convictions — including fines for three more separatists — had soured the political climate.“These verdicts violate fundamental rights and hence people are reacting,” Ramón said.The separatist movement is proud of its history of mostly peaceful campaigning. Officials have accused a relatively small number of agitators of provoking the recent riots.Spanish authorities suspect a secretive new group called Tsunami Democratic is using encrypted messages to orchestrate some of the attacks, which have included torched cars and burning barricades in the streets.The group appeared on Sept. 2 and in just over six weeks has gained nearly 340,000 followers on its main channel in Telegram, a messaging app.A National Court judge on Friday ordered the closure of websites linked to the group.Rights group Amnesty International called on “all authorities” to refrain from contributing to the escalation of tensions in the streets and to respond “proportionally” to outbreaks of violence.The group said in a statement that it had observed “various cases” of “excessive” use of police force, “including inappropriate and unjustified use of batons and other defensive equipment against people who posed no risk.”Tourists also felt the turmoil. At least two large cruise operators diverted their ships to other ports, and those which had already docked in the port of Barcelona cancelled their passengers’ excursions to the city. Architect Antoni Gaudí’s modernist Sagrada Familia also closed its doors due to a protest blocking access to the basilica.Naoya Suzuki, a 34-year-old tourist from Japan, complained about the disruptions to “people who have nothing to do with Spain.”“I’ve had a look at the news and I can just about understand why they are angry, but not why are they are doing all this and stopping the sightseeing of tourists,” he said.Dozens of flights into and out of the region were canceled due to the strike called by pro-independence unions. Picketers also blocked roads to the border with France and elsewhere, sometimes with burning tires.Commuter and long-distance train services were significantly reduced, and many shops and factories didn’t open for business.Spain’s interim prime minister, Pedro Sánchez, said authorities would prosecute radicals who rioted this week while ensuring that peaceful protests can continue.“Those who break the law have to answer for their deeds sooner or later,” Sánchez told a press conference in Brussels, where he was attending a European Union summit.Sánchez faces a general election in less than a month, and the tensions in Catalonia are a test of his political skills.The former head of the Catalan government, Carles Puigdemont, on Friday avoided being jailed after he voluntarily testified before Belgian judicial authorities over a new warrant that Spain issued this week following the Supreme Court sentences. He is also wanted for his part in the 2017 independence bid.The Belgian judge ordered his release without bail but instructed him to remain in Belgium while awaiting an Oct. 29 extradition hearing, the Belgian prosecutor’s office said in a statement.Instability in Catalonia led to the postponement of next week’s marquee soccer match between Barcelona and Real Madrid. The Spanish soccer federation said the game was being moved to avoid overlap with a large separatist rally, as officials fear more violence.__Emilio Morenatti, Bernat Armangue, Renata Brito, Joseph Wilson, Hernán Muñoz and Alicia León reported from Barcelona. Lorne Cook in Brussels and Barry Hatton in Lisbon, Portugal contributed to this report.___This story has been corrected to show that more than 200 people have been injured, not arrested.