Less than a month after Turkey’s President Recep Tayyip Erdogan said his country has the freest press in the world, a Turkish court ordered the nation’s authorities to block Facebook pages that they deem to be insulting of Muhammad, author of the Koran.

The court threatened on Sunday to block Facebook in its entirety if they did not comply with their demands, notes SiliconValley.com. On Monday, Facebook caved to the pressures and blocked the page to which Turkey’s court was referring.

The decision came just days after another court (the Diyarbakir 2nd Criminal Court of Peace) issued a ruling that blocked access to web pages that featured the first cover of French satirical newspaper Charlie Hebdo since the targeted murders of the paper’s editors by Muslim terrorists.

The Hebdo cover featured an image of the Prophet Muhammad holding up a sign saying “all is forgiven” in French. A subsequent attack took place which targeted and killed several Jews at a Kosher supermarket in Paris.

In March of last year, Erdogan threatened to ban YouTube and Facebook, arguing that his opponents had been using the social media networks to attack him ahead of the August 2014 presidential elections.

Erdogan’s government is widely seen as pursuing a religious agenda in which Islam takes an even greater role in his largely Muslim country.

Follow Adelle Nazarian on Twitter: @AdelleNaz.