Demonstrators wave their cell phones, with the words on one of them reading

MOSCOW (AP) — Several thousand people rallied on Wednesday in Russia's fourth-largest city as the showdown between authorities and activists protesting the plans to a build a new cathedral in a local park entered its third day.

Thousands gathered in a riverside park in Yekaterinburg Wednesday evening. Some of them were on bicycles, more camped out on the grass while others were walking their dogs.

As night fell, protesters turned on the light on their mobile phones and flashlights, chanting "We stand for the park!"

Security measures for what has largely been a peaceful protest were heighted on the eve of the rally, with hundreds of riot police deployed to the park. Earlier, construction workers started building a new, sturdy fence to replace the chain-link fence that the protesters brought down a day earlier.

Opponents of the cathedral, which is promoted by authorities and funded by the owners of two major local industrial giants, say the construction project smack in the city center would take away green and recreational space needed by residents of a city with 1.5 million people.

Kremlin spokesman Dmitry Peskov told reporters earlier Wednesday that the Kremlin has full trust in the local government to handle the protests but also decried the rallies which he described as unsanctioned demonstrations which violate Russian law.

Hundreds of protesters stayed in the park well after midnight facing several rows of riot police who were encircling the fence around the proposed construction site.

Riot police stand next to demonstrators gather in front of a newly built fence blocked by police, during a protest against plans to construct a cathedral in a park with the Church on the Blood, a cathedral erected on a place where the last czar, his wife Alexandra and their five children were executed in 1918, in Ural Mountain city of Yekaterinburg, background, in Yekaterinburg, Russia, Wednesday, May 15, 2019. Hundreds of riot police have surrounded a park in Russia's fourth-largest city before what's expected to be a third consecutive day of protests against building a new cathedral. (AP Photo/Anton Basanayev)
Demonstrators wave their cell phones as they gather in front of a new built fence blocked by police, during a protest against plans to construct a cathedral in a park in Yekaterinburg, Russia, Wednesday, May 15, 2019. Hundreds of riot police have surrounded a park in Russia's fourth-largest city before what's expected to be a third consecutive day of protests against building a new cathedral. (AP Photo/Anton Basanayev)
Police officers stand in front of a new built fence during a protest against plans to construct a cathedral in a park in Yekaterinburg, Russia, Wednesday, May 15, 2019. Hundreds of riot police have surrounded a park in Russia's fourth-largest city before what's expected to be a third consecutive day of protests against building a new cathedral. (AP Photo/Anton Basanayev)
A police officer speaks on two walkie talkies as demonstrators gather in front of a new builded fence blocked by police to protest plans to construct a cathedral in a park in Yekaterinburg, Russia, Wednesday, May 15, 2019. Hundreds of riot police have surrounded a park in Russia's fourth-largest city before what's expected to be a third consecutive day of protests against building a new cathedral. (AP Photo/Anton Basanayev)
Demonstrators wave their cell phones as they gather in front of a new built fence blocked by police, during a protest against plans to construct a cathedral in a park in Yekaterinburg, Russia, Wednesday, May 15, 2019. Hundreds of riot police have surrounded a park in Russia's fourth-largest city before what's expected to be a third consecutive day of protests against building a new cathedral. (AP Photo/Anton Basanayev)
Demonstrators gather in front of a new builded fence blocked by police, to protest plans to construct a cathedral in a park in Yekaterinburg, Russia, Wednesday, May 15, 2019. Hundreds of riot police have surrounded a park in Russia's fourth-largest city before what's expected to be a third consecutive day of protests against building a new cathedral. (AP Photo/Anton Basanayev)