BUCHAREST (Reuters) - Tens of thousands of protesters rallied against the ruling Social Democrat (PSD) government on Friday in cities across Romania and the capital Bucharest where riot police fired tear gas into the crowd and hundreds needed medical attention.

The protests were organized and promoted by groups of Romanians working abroad, angry at what they say is entrenched corruption, low wages and attempts by the PSD to weaken the judiciary in one of the European Union’s most corrupt states.

In Bucharest, some protesters attempted to force their way through security lines guarding the government building. Others threw bottles and rocks at riot police, who said groups of “provocateurs” were present in the square.

As the protest continued well into the night, riot police used a water canon and increasingly sprayed tear gas into the crowd. Video footage posted on social media show police beating non-violent protesters holding their hands up.

More than 400 people required medical assistance, the emergency intervention agency ISU said, including two riot police who got separated from their unit. Tens of thousands staged peaceful protests in other Romanian cities.

Centrist Romanian President Klaus Iohannis condemned the police’s disproportionate use of force.

“I firmly condemn riot police’s brutal intervention, strongly disproportionate to the actions of the majority of people in the square,” he said on his Facebook page.

Slideshow ( 16 images )

“The interior ministry must explain urgently the way it handled tonight’s events.”

DIASPORA PROTEST

Among the crowds in Bucharest were truck driver Daniel Ostafi, 42, who moved to Italy 15 years ago in search of a future he says Romania could not offer his family, and Mihai Podut, 27, a construction worker who left in 2014, first for France and later Germany.

They joined tens of thousands outside government headquarters in scorching temperatures, waving Romanian and European Union flags and demanding the cabinet’s resignation. Messages projected on buildings around the square said “We are the people” and “No violence”.

An estimated 3 to 5 million Romanians are working and living abroad, the World Bank has said, up to a quarter of the European Union state’s population, ranging from day laborers to doctors. They sent home just under $5 billion last year, a lifeline for rural communities in one of the EU’s least developed countries.

“I left to give my children a better life, which was not possible here then,” said Ostafi.

Slideshow ( 16 images )

“Unfortunately, it is still not possible, the ... people who govern us are not qualified and they are corrupt,” he said, adding he hoped the next parliamentary election would see a bigger turnout.

Peaceful protests have repeatedly been held since the Social Democrats took power in early 2017 and tried to decriminalize several corruption offences.

Earlier this year, they pushed changes to the criminal code through parliament that have raised concerns from the European Commission and the U.S. State Department. The changes are pending Constitutional Court challenges.

Romania ranks as one of the EU’s most corrupt states and Brussels keeps its justice system under special monitoring.

Some politicians from the ruling coalition derided the rally in the run up, saying they did not understand why the diaspora would protest.

“Almost all of the public sector is malfunctioning, it must be changed completely and replaced with capable people,” said Podut. “I would ask our ruling politicians to switch places with us, work the way we do and see what that is like.”