A woman wrapped in the Romanian flag takes pictures before minor clashes erupted during a protest in Bucharest, Romania, Wednesday, Feb. 1, 2017. Romania's government decriminalized official misconduct overnight Wednesday, defying mass protests and warnings from prosecutors and the president that the move will reverse the country's fight against corruption.(AP Photo/Vadim Ghirda)

A woman wrapped in the Romanian flag takes pictures before minor clashes erupted during a protest in Bucharest, Romania, Wednesday, Feb. 1, 2017. Romania's government decriminalized official misconduct overnight Wednesday, defying mass protests and warnings from prosecutors and the president that the move will reverse the country's fight against corruption.(AP Photo/Vadim Ghirda)

BUCHAREST, Romania (AP) — Protesters and riot police clashed sporadically in Romania’s capital late Wednesday as tens of thousands demonstrated against the government for decriminalizing some official misconduct, a move that critics at home and abroad called a major a setback for the anti-corruption fight.

A handful of protesters threw firecrackers and smoke bombs at police guarding the main government offices, who responded with tear gas. At least one person was detained and a newspaper kiosk was set on fire. Media reported that the violent protesters were football supporters and not anti-government demonstrators.

Emergency situations official Raed Arafat said two police officers and two demonstrators were treated at hospitals for minor injuries. An unspecified number of other officers sustained light injuries.

ADVERTISEMENT

It was the second consecutive night of protests against the government, whose adoption of an emergency ordinance that decriminalizes abuse in office went against widespread protests and warnings from prosecutors and the president.

The ordinance was published in the official government monitor at 3 a.m. Wednesday.

The speed with which the center-left government approved the proposal and the hour of its action alarmed critics. The coalition government has been in office for less than a month and the ordinance benefits its allies and Romanian officials facing corruption charges.

“It shows that the government is willing to use backdoor methods with no scrutiny or checks and balances in order to protect and promote itself,” said Dan Brett, an associate professor at the Open University.

There were protests in a half dozen cities around Romania, with people calling for the resignation of the government.

President Klaus Iohannis, who has limited powers and doesn’t oversee the government, called the measure’s adoption “a day of mourning for the rule of law.”

In recent years, Romania has been touted as a regional leader for targeting the rich and the powerful in a crackdown on corruption. But the drive proved unpopular with politicians.

The leaders of the center-left Social Democratic Party and the junior Alliance of Democratic Liberals, which form the current coalition government, both face corruption charges that bar them from serving as ministers.

Social Democrat chairman Liviu Dragnea was unable to become prime minister because in April 2016 he received a two-year suspended jail sentence for vote rigging. On Tuesday, he went on trial for abuse of power while he was president of the Teleorman local council from 2006 to 2012. He denies wrongdoing.

Justice Minister Florin Iordache said the emergency ordinance will decriminalize cases of official misconduct in which the damages are valued at less than 200,000 lei ($47,800).

ADVERTISEMENT

On Wednesday, Romania’s Supreme Council of Magistrates unanimously agreed to take the emergency decree to the Constitutional Court, which is the last legal resort to stop the law.

The government on Tuesday evening also sent to Parliament a proposal that would pardon thousands of prisoners for non-violent crimes. It says the measure, which would free about 3,000 convicts, would help reduce overcrowding in prisons.

Prisoners interviewed by The Associated Press scoffed at the idea, saying the changes were likely to benefit senior officials rather than ordinary convicts.

Protests erupted in cities around the country after the decriminalization plan was made public last month. The chief anti-corruption prosecutor, Laura Codruta Kovesi, said it “will render the anti-corruption fight irrelevant.”

The National Anticorruption Directorate has prosecuted 1,170 cases of abuse in office during the past three years with damages worth 1 billion euros ($1.07 billion), just under one-third of all of its cases, she said.

The European Union criticized the Romanian government’s move.

European Commission Vice President Maros Sefcovic told reporters that the EU is “following the latest developments in Romania with growing concern.”

“The fight against corruption needs to be advanced and not undone,” Sefcovic said.