What is the newly passed ‘Russia law’ that has divided people in Georgia for months?

Georgia’s parliament has passed a law that critics see as a threat to media freedom and the country’s aspirations to join the European Union. Lawmakers defied weeks of large demonstrations in the capital that also featured anger at neighboring Russia.

Here is a look at the law and the protests against it:

WHAT DOES THE LAW DO?

The law would require media, nongovernmental organizations and other nonprofits to register as “pursuing the interests of a foreign power” if they receive more than 20% of funding from abroad.

The law is nearly identical to the one that the governing Georgian Dream party was pressured to withdraw last year after similar protests. This version passed its third and final reading in parliament on Tuesday.

The governing party says the law is necessary to stem what it deems as harmful foreign influence over Georgia’s political scene and prevent unidentified foreign actors from trying to destabilize it.

The opposition denounces it as “the Russian law” because Moscow uses similar legislation to stigmatize independent news media and organizations critical of the Kremlin. Opposition lawmakers have accused the governing party of trying to drag Georgia into Russia’s sphere of influence.

The law will be sent to the president before it can go into effect. President Salome Zourabichvili, who is increasingly at odds with the governing party, has vowed to veto the law, but Georgian Dream has a majority sufficient to override a veto.

HOW ARE RUSSIA-GEORGIA TIES?

Russia-Georgia relations have been strained and turbulent since the 1991 collapse of the Soviet Union and Georgia’s departure from its role as a Soviet republic.

In 2008, Russia fought a brief war with Georgia, which had made a botched attempt to regain control over the breakaway province of South Ossetia. Moscow then recognized South Ossetia and another separatist province, Abkhazia, as independent states and strengthened its military presence there. Most of the world considers both regions to be parts of Georgia.

Tbilisi cut diplomatic ties with Moscow, and the regions’ status remains a key irritant even as Russia-Georgia relations have improved in recent years.

The opposition United National Movement accuses Georgian Dream, which was founded by Bidzina Ivanishvili, a former prime minister and billionaire who made his fortune in Russia, of serving Moscow’s interests — an accusation the governing party denies.

WHAT IS THE EU’S POSITION?

EU foreign policy chief Josep Borrell described the parliament’s decision as “a very concerning development” and warned that “final adoption of this legislation would negatively impact Georgia’s progress on its EU path.” Borrell earlier said the law was “not in line with EU core norms and values” and would limit the ability of media and civil society to operate freely.

European Council President Charles Michel said after the law was passed that “if they want to join the EU, they have to respect the fundamental principles of the rule of law and the democratic principles.”