Russian President Vladimir Putin and Chinese President Xi Jinping shake hands at the G20 meeting in China in September.

Russia wants to step up its ability to censor the Internet, and it’s turning to China for help.

China’s “Great Firewall” is the envy of the Putin regime, which has long feared that the rise of online political activism could loosen its grip on power. The government has spent years building a system for filtering the country’s Internet—but it is incomplete, and many U.S.-based Internet companies have thumbed their nose at the Kremlin’s rules.

That’s now changing. In June, the Russian government passed a series of measures known as Yarovaya’s laws that require local telecom companies to store all users’ data for six months, and hang on to metadata for three years. And if the authorities ask, companies must provide keys to unlock encrypted communications. Human rights watchdog groups were aghast at the measure. Edward Snowden, who is holed up in Russia, called the package the “Big Brother law.”

There has been some skepticism as to whether such laws would—or even could—be enforced. In the past, Putin has gone so far as to say the Russian government doesn’t have the authority to block websites—and even if it did, some have argued it doesn’t have the technical ability to do so.

But earlier this month Roskomnadzor, Russia’s communications regulator, blocked all public access to LinkedIn, arguing that it violated a 2015 law that requires Internet companies to store users’ personal data on servers located in Russia.