A presidential candidate in Tunisia who reached the final stage of the election is set to remain in custody after failing to win an appeal to be freed.
Nabil Karoui, 56, was detained last month on charges of money laundering and tax fraud, which he denies.
The media mogul was still able to stand despite his arrest but he was not allowed to vote. He reached the run-off vote which is expected next month.
On Wednesday, a judge refused to rule on whether or not he would be released.
The judge said the matter was not in his jurisdiction. It is the third time he has had an appeal turned down.
It means Mr Karoui, who began a hunger strike earlier this month to demand his freedom, will remain in jail.
- Tunisia: What you need to know
- Obituary: The world’s oldest sitting president
- Africa live: Updates from across the continent
His lawyer, Kamel Ben Messoud, told AFP news agency his client would challenge the court’s decision.
Mr Karoui has never held political office. He founded a charity focused on fighting poverty and that issue 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’s the latest on the election?
Mr Karoui and another political outsider, Kais Saied, saw off a crowded field of 24 other candidates in the first round of voting on Sunday.
As no candidate won an outright majority they will both advance to the run-off. The exact date is yet to be announced.
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 winning candidate will be appointed to office 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.
Separately, parliamentary elections are also scheduled to take place next month.
This election is the second free presidential poll since the 2011 uprising that toppled ex-President Zine al-Abidine Ben Ali and sparked the Arab Spring.
It was brought forward after the death in July of the country’s first democratically elected president, Beji Caid Essebsi, who took office in 2014.
You might also be interested in:
Nabil Karoui: Tunisia candidate to stay in jail