ANKARA, Turkey — Turkish Prime Minister Recep Tayyip Erdogan has backtracked on a threat to shut down Facebook and YouTube in Turkey.

Erdogan, who is fighting allegations of corruption, said last week the government was considering steps to prevent secretly wiretapped recordings from being leaked on the Internet, including shutting down Facebook and YouTube.

The government insists the corruption allegations and leaks are the work of the followers of an influential U.S.-based Muslim cleric who have infiltrated police and the judiciary.

In comments published in pro-government Yeni Safak newspaper Tuesday, Erdogan said the government was determined to fight “fabricated and dubbed” recordings on the Internet but acknowledged that a total shutdown of social media is “out of question.”

Last month, parliament passed a law that increased government controls over the Internet.