ANKARA, Turkey -- In a second ruling against Turkey's ban on Twitter, a Turkish court has overturned an order for the social media network to remove an account that accuses a former minister of corruption, reports said Saturday.

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 neighbouring Syria.

Twitter, which is challenging the ban in Turkish courts, announced late Friday that a court in Istanbul had ruled in its favour 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.