China has adopted Russia’s playbook for spreading disinformation on Facebook and Twitter, deploying those tactics in its increasingly heated information war over the protests that have convulsed Hong Kong.

In recent weeks, Facebook and Twitter accounts that originated in China acted in a coordinated fashion to amplify messages and images that portrayed Hong Kong’s protesters as violent and extreme, the two social media companies said on Monday.

On Facebook, one recent post from a China-linked account likened the protesters to Isis fighters. And a Twitter message said, “We don’t want you radical people in Hong Kong. Just get out of here!”

Facebook and Twitter said they had removed the accounts, the first time that the social media companies have had to take down accounts linked to disinformation in China.

Facebook said it eliminated seven pages, three Facebook groups and five accounts involved in the disinformation campaign about Hong Kong protesters.

"Eye for an eye" - Protesters highlight police violence in Hong Kong Show all 13 1 /13 "Eye for an eye" - Protesters highlight police violence in Hong Kong "Eye for an eye" - Protesters highlight police violence in Hong Kong A protester blindfolds herself during the occupation of Hong Kong airport following an incident where riot police allegedly shot a teargas canister into a woman's eye Reuters "Eye for an eye" - Protesters highlight police violence in Hong Kong A protester with her right eye covered lies down in the arrival hall during the occupation of Hong Kong airport Getty "Eye for an eye" - Protesters highlight police violence in Hong Kong A protester holds up an alternative design of the Hong Kong metro system map that marks the locations where police have used teargas against demonstrators AFP/Getty "Eye for an eye" - Protesters highlight police violence in Hong Kong Scores of protesters occupy the arrival hall of Hong Kong airport following an incident where riot police allegedly shot a teargas canister into a woman's eye Reuters "Eye for an eye" - Protesters highlight police violence in Hong Kong A breathing mask is seen on the ground where a protester received medical attention after she was allegedly shot in the eye by riot police Getty "Eye for an eye" - Protesters highlight police violence in Hong Kong Protesters occupy the arrival hall of the Hong Kong airport Getty "Eye for an eye" - Protesters highlight police violence in Hong Kong Blindfolded protesters occupy the arrival hall of Hong Kong airport Getty "Eye for an eye" - Protesters highlight police violence in Hong Kong A protester holds a sign that refers to an incident where riot police allegedly shot a teargas canister into a woman's eye Reuters "Eye for an eye" - Protesters highlight police violence in Hong Kong A protester covers her right eye during the occupation of Hong Kong airport AFP/Getty "Eye for an eye" - Protesters highlight police violence in Hong Kong Protesters occupy the arrival hall in Hong Kong airport Reuters "Eye for an eye" - Protesters highlight police violence in Hong Kong As protesters occupy Hong Kong airport, a demonstrator covers his right eye in reference to an incident where riot police allegedly shot a teargas canister into a woman's eye EPA "Eye for an eye" - Protesters highlight police violence in Hong Kong A protester covers her right eye during the occupation of Hong Kong airport EPA "Eye for an eye" - Protesters highlight police violence in Hong Kong A protester holds up a sign referring to an incident where riot police allegedly shot a teargas canister into a woman's eye AP

Twitter deleted 936 accounts and said it would ban state-backed media from promoting tweets after China Daily and other state-backed publications placed ads on its service that suggested the protesters were sponsored by Western interests and were becoming violent.

“These accounts were deliberately and specifically attempting to sow political discord in Hong Kong, including undermining the legitimacy and political positions of the protest movement on the ground,” Twitter said in a statement.

“Based on our intensive investigations, we have reliable evidence to support that this is a coordinated state-backed operation.”

The removal of the China-backed accounts signals an escalation in the global disinformation wars. In 2015 and 2016, Russia pioneered disinformation techniques when it used Facebook, Twitter, Instagram and other social media to disseminate inflammatory messages intended to divide Americans in the 2016 presidential election.

Since then, governments in many other countries have also used Facebook and Twitter to sow discord at home and abroad.

China has been less visible about using Facebook and Twitter to spread disinformation, researchers said. Both services are blocked in the country.

The Communist Party has largely not needed Western social media because it already exerts tight control over state-backed media and content inside the country’s Great Firewall.

But the recent Facebook and Twitter activity over the Hong Kong protests suggests that Beijing will use those services to spread its messaging outside the Great Firewall when it deems it necessary. Facebook and Twitter are not blocked in Hong Kong.