Audio By Carbonatix
A Tunisian court has released a presidential candidate days before he is due to stand in Sunday's second round of national elections.
A Tunis appeals court annulled the detention order for Nabil Karoui, who was arrested last month on charges of money laundering and tax fraud.
The 56-year-old media mogul was still able to stand for president, and came second in last month's first round.
Critics say Mr Karoui's detention has damaged the election's credibility.
It is Tunisia's second free presidential poll since the 2011 uprising that toppled ex-President Zine al-Abidine Ben Ali and sparked the Arab Spring.
Despite his release late on Wednesday, Mr Karoui is still facing charges - which he denies. No date has been set for a final verdict.
Tunisia's electoral commission has said that if Mr Karoui loses Sunday's election he could appeal the result as he has not been allowed a fair campaign.
Mr Karoui had failed to win previous attempts to be released and began a hunger strike in September to demand his freedom.
He has never held political office. He founded a charity focused on fighting poverty, an issue that has been a central theme of his campaign.
But critics have accused him of using the charity and his TV channel to further his political ambitions.
What happened in the election?
Mr Karoui and another outsider, Kais Saied, saw off a crowded field of 24 other candidates in the first round.
Mr Saied, an independent candidate and law professor, took 18.4% of the vote with Mr Karoui receiving 15.6% of votes cast.

Nabil Karoui will face another political outsider, Kais Saied (C), in a run-off vote
The result marked a blow for Tunisia's political establishment, including for Prime Minister Youssef Chahed and former interim President Moncef Marzouki, who both failed to progress.
The winner on Sunday will be appointed for a five-year term. Tunisia's president has control over defence, foreign policy and national security. The prime minister, chosen by parliament, is responsible for other portfolios.
The election was brought forward after the death in July of the country's first democratically elected president, Beji Caid Essebsi, who took office in 2014.
Latest Stories
-
UMaT graduates 95 students, commits to training 1,000 coders
2 minutes -
Modified Taxation Scheme: Ghana’s surest way to inclusive tax administration
13 minutes -
Asunafo North Cocoa Farmers Union and partners rescue rural schools from infrastructure crisis
21 minutes -
Africa must become a destination for investment, not aid — Deputy Finance Minister
51 minutes -
Regulation by invoicing: Systemic flaws in NITA’s licensing push and threat to Ghana’s digital trust
54 minutes -
‘I’m sick and tired of this country’ – Ghanaian in South Africa pour out frustrations at meeting with Foreign Affairs Minister
1 hour -
‘Mum’s dementia means I live in the moment with her’
1 hour -
Energy Commission champions Clean Energy Transition
2 hours -
International Day of the Boy Child marked in Accra
2 hours -
BoG losses will not recur at last year’s scale — Governor Asiama assures
2 hours -
Without trust, digital finance is just technology – BoG Governor
3 hours -
Mental disorders increase by 95.5% globally since 1990 – Study
3 hours -
See the areas that will be affected by ECG’s planned maintenance on May 25
3 hours -
Fire destroys six-bedroom house in Koforidua
4 hours -
Government deploys armoured buses disguised as VIP, STC and OA coaches to fight highway robberies
4 hours