A woman uses a laptop computer showing Youtube's logo on March 27, 2014 in Istanbul, near a poster Berkin Elvan, the 15-year-old boy who died nine months after he was hit by a tear gas canister while going to buy bread during the 2013 protests in Istanbul. Turkey on March 27 banned video-sharing website YouTube, a week after blocking access to Twitter, after both were used to spread audio recordings implicating the prime minister in corruption, local media reported. AFP PHOTO / OZAN KOSE (Photo credit should read OZAN KOSE/AFP/Getty Images)

Story highlights

NEW: Access to YouTube still appeared to be blocked for Turkish users on Friday

Access to Twitter was restored in Turkey on Thursday after a Constitutional Court ruling

Turkey's Prime Minister last month blamed social media for fueling anti-government rhetoric

Istanbul CNN  — 

A court in Turkey’s capital, Ankara, lifted a ban on the YouTube video sharing website Friday, the semiofficial Anadolu news agency reported.

The ruling came a day after Prime Minister Recep Tayyip Erdogan’s office said Turkey’s ban on the social media service Twitter had been lifted.

Ankara’s Golbasi Court opted Friday to lift its March 27 ruling that barred access to all YouTube content, Anadolu reported, but decided to continue a block on 15 specific YouTube links.

In its ruling, the court said that blocking access to the website was contrary to fundamental rights and freedom of expression, the news agency said.

It’s not clear how soon the ruling will come into effect. Access to YouTube still appeared to be blocked for Turkish users Friday.

The restoration of Twitter came after Turkey’s Constitutional Court ruled Wednesday that the ban violated the right to free expression and demanded that citizens’ access to the popular microblogging service be restored.

Several Twitter users told CNN on Thursday that the social media service was now functional inside the country.

Disruption to the service began hours after Erdogan threatened to “eradicate” Twitter at a campaign rally on March 20, blaming social media for fueling anti-government rhetoric. The YouTube ban was imposed less than a week later.

Turks went to the polls in nationwide municipal elections Sunday.

Wiretap leaks

The Turkish government said its YouTube block was a response to the leak of a conversation between top government officials purportedly discussing the possibility of going to war with neighboring Syria.

Turkey’s top media regulating agency announced a similar ban on the broadcast of the conversation to television and radio channels.

Members of Turkey’s political elite have been battered by a campaign of wiretap leaks recorded by unknown operatives and distributed daily on the Internet for more than a month.

Until the purported Syria-related leak, all of the wiretaps seemed to be recordings of phone conversations among Erdogan, his inner circle, government officials and top corporate executives.

Erdogan, of the ruling Justice and Development Party, has called some recordings “immorally edited material,” including a conversation in which a man who sounds like the Prime Minister purportedly instructs his son to hide tens of millions of dollars in cash from police investigators.

But he has also confirmed the authenticity of other wiretaps, in which he is heard instructing the head of a major television news network to cut short the live broadcast of a rival politician’s speech in parliament.

Turkey’s government has accused social media platforms, including Twitter and Facebook, of being used to spread false information and lies.

READ: Turkey blocks YouTube days after Twitter crackdown

READ: Turkey’s Twitter ban lifted

CNN’s Gul Tuysuz reported from Istanbul, and Laura Smith-Spark wrote in London. CNN’s Ivan Watson and Talia Kayali contributed to this report.