ISTANBUL (AP) — Protests erupted across multiple Turkish cities on Friday as people rallied against the arrest of Istanbul's mayor and the top rival to President Recep Tayyip Erdogan, despite the Turkish leader's stern warning that street protests would not be tolerated.

In Istanbul, police used pepper spray and tear gas to push back hundreds of protesters who tried to break through a barricade in front of the city's historic aqueduct and threw flares, stones and other objects at them.

Water cannons were used to break up demonstrations in Ankara, the capital, as well as in the Aegean coastal city of Izmir. Thousands marched in several other cities calling on the government to resign, the private Halk TV television reported.

At least 97 people were detained nationwide during the protests, Interior Minister Ali Yerlikaya said.

Mayor Ekrem Imamoglu was arrested in a dawn raid on his residence on Wednesday over alleged corruption and terror links, escalating a crackdown on opposition figures and dissenting voices. Several other prominent figures, including two district mayors, were also detained.

Many view the arrest as a politically driven attempt to remove a popular opposition figure and key challenger to Erdogan in the next presidential race, currently scheduled for 2028. Government officials reject accusations that legal actions against opposition figures are politically motivated and insist that Turkey's courts operate independently.

Imamoglu was questioned by police for four hours over corruption accusations, during which he denied all the charges, the Cumhuriyet newspaper and other media reported. He was expected to be transferred to a courthouse Saturday evening for questioning by prosecutors.

His arrest has sparked the largest protests since 2013, when Turkey was rocked by mass anti-government demonstrations that left eight people dead.

Earlier on Friday, the leader of Turkey’s main opposition party, Ozgur Ozel, renewed a call on supporters to take to the streets for peaceful demonstrations, while authorities widened a ban on protests and criticized the appeal as irresponsible.

“I invite tens of thousands, hundreds of thousands, and millions, to peacefully demonstrate, express our democratic reaction, and exercise our constitutional rights,” he said.

Addressing a large rally outside the city hall, Ozel accused Erdogan of using the judiciary as tool after failing to defeat the mayor “in a fair way.”

Erdogan, increasingly authoritarian after more than two decades in office, said the government would not tolerate street protests and accused the opposition party of links to corruption and terror organizations.

“An anti-corruption operation in Istanbul is being used as an excuse to stir unrest in our streets. I want it to be known that we will not allow a handful of opportunists to bring unrest to Turkey just to protect their plundering schemes,” Erdogan said.

“Pointing to the streets instead of courtrooms to defend theft, plunder, lawlessness and fraud is a grave irresponsibility,” Erdogan said. “Just as we have not surrendered to street terrorism until now, we will not bow to vandalism in the future either.”

On Friday, authorities in Ankara and Izmir announced a five-day ban on demonstrations, following a similar measure imposed earlier in Istanbul. Authorities on Friday announced more road closures in Istanbul and shuttered metro stops near a university in Ankara, where violent clashes occurred a day earlier.

Imamoglu’s arrest came just days before he was expected to be nominated as the opposition Republican People’s Party’s presidential candidate in a primary on Sunday. Ozel has said that the primary, where around 1.5 million delegates can vote, will go ahead as planned.

The opposition party has also urged citizens to participate in a symbolic election on Sunday — through improvised ballot boxes to be set up across Turkey — to show solidarity with Imamoglu.

Analysts say Imamoglu could be removed from office and replaced by a “trustee mayor,” if he is formally charged with links to the outlawed Kurdistan Workers’ Party, or PKK, which is listed as a terrorist organization by Turkey and its Western allies.

Meanwhile, Ozel also said the opposition party would hold an extraordinary party congress on April 6, to thwart any attempts by the authorities to appoint a “trustee chairman” to lead the party. The decision came amid speculation that authorities could annul the party’s last congress, held in 2023, over alleged vote-buying and other irregularities, and appoint a handpicked leader.

University students shout slogans in Istanbul, Turkey, Friday, March 21, 2025, as they protest against the arrest of Istanbul's Mayor Ekrem Imamoglu. (AP Photo/Francisco Seco)

Credit: AP

icon to expand image

Credit: AP

University students protest against the arrest of Istanbul's Mayor Ekrem Imamoglu, in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Emrah Gurel)

Credit: AP

icon to expand image

Credit: AP

University students hold a Turkish flag with the image of Turkey's founding father Mustafa Kemal Ataturk, in Istanbul, Turkey, Friday, March 21, 2025, as they protest the arrest of Istanbul's Mayor Ekrem Imamoglu. (AP Photo/Emrah Gurel)

Credit: AP

icon to expand image

Credit: AP

University students march in Istanbul, Turkey, Friday, March 21, 2025, as they protest the arrest of Istanbul's Mayor Ekrem Imamoglu. (AP Photo/Emrah Gurel)

Credit: AP

icon to expand image

Credit: AP

Police officers use pepper spray during clashes with people as they protest against the arrest of Istanbul's Mayor Ekrem Imamoglu, in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Khalil Hamra)

Credit: AP

icon to expand image

Credit: AP

Police officers use pepper spray during clashes with people as they protest against the arrest of Istanbul's Mayor Ekrem Imamoglu, in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Khalil Hamra)

Credit: AP

icon to expand image

Credit: AP

Protesters throw a flare to anti riot police men during clashes in a rally against the arrest of Istanbul's Mayor Ekrem Imamoglu, in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Khalil Hamra)

Credit: AP

icon to expand image

Credit: AP

Police officers use pepper spray during clashes with people as they protest against the arrest of Istanbul's Mayor Ekrem Imamoglu, in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Khalil Hamra)

Credit: AP

icon to expand image

Credit: AP

Police officers use pepper spray during clashes with people as they protest against the arrest of Istanbul's Mayor Ekrem Imamoglu, in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Khalil Hamra)

Credit: AP

icon to expand image

Credit: AP

Police officers use pepper spray during clashes with people as they protest against the arrest of Istanbul's Mayor Ekrem Imamoglu, in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Khalil Hamra)

Credit: AP

icon to expand image

Credit: AP

Police officers use pepper spray during clashes with people as they protest against the arrest of Istanbul's Mayor Ekrem Imamoglu, in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Khalil Hamra)

Credit: AP

icon to expand image

Credit: AP

People light flares as they protest against the arrest of Istanbul's Mayor Ekrem Imamoglu, in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Khalil Hamra)

Credit: AP

icon to expand image

Credit: AP

People light flares as they protest against the arrest of Istanbul's Mayor Ekrem Imamoglu, in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Khalil Hamra)

Credit: AP

icon to expand image

Credit: AP

People light flares as they protest against the arrest of Istanbul's Mayor Ekrem Imamoglu, in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Khalil Hamra)

Credit: AP

icon to expand image

Credit: AP

A man with the Turkish flags on his back stands in front of anti riot police officers during clashes in a rally against the arrest of Istanbul's Mayor Ekrem Imamoglu, in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Khalil Hamra)

Credit: AP

icon to expand image

Credit: AP

A man stands in front of anti riot police officers during clashes in a rally against the arrest of Istanbul's Mayor Ekrem Imamoglu, in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Khalil Hamra)

Credit: AP

icon to expand image

Credit: AP

A man throws an object during clashes with police during a protest against the arrest of Istanbul's Mayor Ekrem Imamoglu in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Emrah Gurel)

Credit: AP

icon to expand image

Credit: AP

A man holds a Turkish flag as people clash with police during a protest against the arrest of Istanbul's Mayor Ekrem Imamoglu in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Emrah Gurel)

Credit: AP

icon to expand image

Credit: AP

Protesters throw a flare towards anti riot police officers during a protest against the arrest of Istanbul's Mayor Ekrem Imamoglu in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Emrah Gurel)

Credit: AP

icon to expand image

Credit: AP

An policeman uses an anti riot rifle to disperse people during a protest against the arrest of Istanbul's Mayor Ekrem Imamoglu in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Emrah Gurel)

Credit: AP

icon to expand image

Credit: AP

A man holds a Turkish flag with the image of Turkey's founding father Mustafa Kemal Ataturk in front of anti riot police officers during a protest against the arrest of Istanbul's Mayor Ekrem Imamoglu in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Emrah Gurel)

Credit: AP

icon to expand image

Credit: AP

A man holds a Turkish flag with the image of Turkey's founding father Mustafa Kemal Ataturk in front of anti riot police officers during a protest against the arrest of Istanbul's Mayor Ekrem Imamoglu in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Emrah Gurel)

Credit: AP

icon to expand image

Credit: AP

Protesters throw objects during clashes with anti riot police officers in a protest against the arrest of Istanbul's Mayor Ekrem Imamoglu in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Emrah Gurel)

Credit: AP

icon to expand image

Credit: AP

Protesters throw a flare towards anti riot police officers during a protest against the arrest of Istanbul's Mayor Ekrem Imamoglu in Istanbul, Turkey, Friday, March 21, 2025. (AP Photo/Emrah Gurel)

Credit: AP

icon to expand image

Credit: AP