Twitter agrees to pull anti-Semitic posts using "good Jew" hashtag

Twitter announced it will censor a user for the first time this week.

After a Jewish group threatened Twitter with a lawsuit, the microblogging website agreed Friday to remove posts that had been proliferating in France under the hashtags #unbonjuif and #agoodjew, the BBC reported.

The BBC wrote that Twitter would be removing "a flood of anti-Semitic tweets" after meeting with the head of the Union of Jewish Students of France (UEJF), which was considering legal action, and their lawyers.

The agreement came within hours of an unprecedented decision by the company earlier this week to block an account in Germany belonging to a neo-Nazi group under Twitter's policy of “country-withheld content,” The New York Times reported.

The Times added that some of the anti-Semitic posts had already been deleted on Friday evening.

More from GlobalPost: Twitter censors user account for the first time

In a statement, the company said: "Twitter does not mediate content. If we are alerted to content that may be in violation of our terms of service, we will investigate each report and respond according to the policies and procedures outlined in our support pages," the Associated Press reported.

But some users complained that Twitter was censoring free expression by getting rid of the offensive speech, which "included slurs and photos evoking the Holocaust ... followed by offensive, anti-Muslim tweets," the AP wrote.

In an official company blog post earlier this year, Twitter appeared to anticipate the pressures of local laws on its general policy of free expression.

"As we continue to grow internationally, we will enter countries that have different ideas about the contours of freedom of expression. Some differ so much from our ideas that we will not be able to exist there. Others are similar but, for historical or cultural reasons, restrict certain types of content, such as France or Germany, which ban pro-Nazi content," the company wrote.