ISTANBUL, Turkey -- Turkish Prime Minister Recep Tayyip Erdogan says that he had to comply with the Turkish high court ruling this week to unblock Twitter, but he doesn't respect it.

Turkey blocked access to the social media website two weeks ago after some users posted links suggesting government corruption. Erdogan had vowed to "rip out the roots" of Twitter for allowing the postings. The government lifted the ban on Thursday, a day after the court ruling.

On Friday, Erdogan said of the court's decision: "I don't have to respect it. I don't respect it."

He said the court was protecting a tool of foreign influence, saying that Twitter is "the product of an American company." He added: "All of our moral values are being set aside."