Twitter is back on in Turkey after a constitutional court ruled that a government-imposed ban on the social media service was a breach of free expression.

The country's telecom authority lifted the 2-week-old ban, after it was blocked in the runup to last Sunday's local elections.

Turkey's telecommunication authority, or TIB, blocked access to Twitter on March 21. The order followed Prime Minister Tayyip Erdogan's remarks that he would "eradicate" the network after a series of anonymously posted audio clips that purported to expose corruption at the top levels of government.

TIB said in a statement that it was in the process of restoring access to Twitter, but it appears that a block on YouTube, imposed last week, remains in place.

Copyright 2016 NPR. To see more, visit http://www.npr.org/.