Turkey last week suspended access to Twitter, which has been a conduit for links to recordings suggesting corruption by Prime Minister Recep Tayyip Erdogan's government, which faces local elections on Sunday.
The government then blocked access to YouTube following the leak of an audio
recording of a top security meeting where officials allegedly discussed a military intervention in neighboring Syria.
Twitter, which is challenging the ban in Turkish courts, announced late Friday that a court in Istanbul had ruled in its favor over the account that accuses former Transport Minister Binali Yildirim of corruption. It called the decision a "win for freedom of expression."
Yildirim's lawyer confirmed the ruling on Saturday, adding that it would be appealed.
Last week, another court ordered that access to Twitter be restored, but Turkish authorities said they have 30 days to implement the order and could appeal.
Many tech-savvy users, including President Abdullah Gul, have found ways of circumventing the ban on both Twitter and YouTube.
Gul last week flouted the ban by using his Twitter account to post a series of tweets critical of the blockage. On Friday, his office posted a video on YouTube, in which he is heard speaking against the leak of the secret security meeting and calling for those responsible to be caught and punished.
Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.