SAN FRANCISCO (Reuters) - Twitter Inc TWTR.N said on Tuesday it had stepped up efforts to rid its social network of posts from users advocating political or religious violence, and was increasingly using software to find them rather than relying on reports from users or governments.

FILE PHOTO: People holding mobile phones are silhouetted against a backdrop projected with the Twitter logo in this illustration picture taken September 27, 2013. REUTERS/Kacper Pempel/Illustration/File Photo

U.S. and European governments have been pressuring social media companies including Twitter, Facebook Inc FB.O and Alphabet Inc's GOOGL.O Google to fight harder against online radicalization, particularly by Islamist groups that advocate violent activity.

As part of its semiannual “transparency report,” Twitter said it suspended some 377,000 accounts during the final six months of 2016 for “violations related to promotion of terrorism,” a rate of about 63,000 a month. That is up from about 24,000 a month for a comparable period a year ago.

For the first time, Twitter noted how many government requests the company receives to take down messages posted by journalists and news organizations. The data showed Turkey was by far the most active country in seeking takedown of media reports.

Twitter said it wanted to “shine a brighter light” on the requests as a threat to press freedom.

Of the accounts recently suspended for advocating political or religious violence, 74 percent were identified by “internal, proprietary spam-fighting tools,” rather than by users or authorities, Twitter said. Less than 2 percent were suspended after authorities complained that a user was violating Twitter’s terms of service, it said.

By contrast, Twitter said in a report last year that spam-fighting tools had helped identify only about one-third of the accounts it had suspended for those reasons.

During the final six months of 2016, Twitter said, the company received 88 court orders and other legal requests from around the world directing it to remove content posted by verified journalists and news outlets. Some 77 of them were from Turkey.

Turkey detained tens of thousands of people including scores of journalists after a failed coup in July. The crackdown by Turkish President Tayyip Erdogan, who has for years tried to stamp out what he sees as illegal online activity, has strained relations with NATO allies and raised alarms among civil liberties advocates.

Twitter did not take action in response to the “great majority” of the requests, with exceptions in Turkey and Germany, the social network said.

It also said it filed legal objections whenever possible, but that in Turkey, “disappointingly, none of our objections prevailed.”

In Turkey, Twitter said it withheld 15 tweets and 14 accounts in response to court orders. Examples included gory images after militant attacks, the company said.

In Germany, Twitter said it took down one Tweet posted by a soccer magazine “for violating an individual’s personal rights in response to a court order.”

Twitter said it was providing copies of the underlying court orders to Lumen, a research project affiliated with Harvard University that collects and studies cease and desist letters and other court orders about online content.