Turkey's Constitutional Court has ruled the local block on YouTube as illegal, and has ordered the restoration of services.
Local access to YouTube and Twitter was blocked in early spring when prime minister Recep Tayyip Erdoğan took issue with comments posted to the websites in the run-up to a national vote.
Erdoğan painted the social networks as enemies of the state and ordered local authorities and service providers to cut off access. Many complied and Google complained that the country was directly interfering with its DNS.
Complaints about the block came from far and wide, with European Commission vice president Neelie Kroes describing it as state censorship.
The blocks were never 100 percent effective, with Turkish citizens soon finding workarounds, one of which was recommended by Twitter. The Twitter takedown was officially dropped in early April when the constitutional court ruled that it was against basic human rights in the country.
This was gladly accepted by Twitter, and apparently begrudgingly adopted by Erdoğan. "We complied with the ruling but I do not respect it," he said at a press conference attended by Reuters. "It should have been rejected on procedural grounds."
Now, around two months later, the same court has ordered the removal of the YouTube block, according to the OSCE, a European agency for security and cooperation.
Dunja Mijatović, OSCE Representative on Freedom of the Media, said that the removal of the ban is just.
"The two-months long blocking of YouTube was a clear violation of freedom of expression and media freedom in the country," she said.
"I urge the telecommunications authority to immediately restore access to YouTube in accordance with this final court decision."
Why does Facebook store "my entire call history with my partner's mum", asks developer who requested his Facebook data
Facebook database included text-message metadata - despite not using Facebook Messenger for SMS
Before Ocado could start selling the technology it had developed to other retailers, it had to tear down and rebuild its own monolithic architecture
Successful attack could result in harm to patients and financial loss, warns NHS governing body
Guccifer 2.0 claimed to be a lone Romanian hacker - until a schoolboy error gave him, her or them away