Russia’s internet watchdog yesterday warned Facebook that it would be banned in that country unless it complies with a law on storing local users’ data.

The head of Roskomnadzor Telecoms, which is the internet authority in Russia, Alexander Zharov told journalists in Moscow that the law is compulsory for all and non-compliance meant a ban for the social media giant.

A controversial law passed in 2014 requires foreign messaging services, search engines and social networking sites to store the personal data of Russian users inside Russia.

Russian internet providers last year blocked the Linkedin professional networking site after Roskomnadzor said it broke the law on personal data storage.

Zharov’s comments came after Facebook revealed that Russia-linked fake accounts paid for ads that may have influenced last year’s US election.

Facebook said it was sharing its findings with the US authorities.