A court in Senegal has ordered that jailed opposition leader Ousmane Sonko be reinstated on the electoral register, paving the way for him to run in February's presidential election.
Sonko has faced several court cases on various charges in recent years, all of which he denies.
In June, he was cleared of rape but convicted of "corrupting the youth" and struck off the electoral roll.
He says he is the victim of a campaign to prevent him standing for president.
Candidates must be on the voters' roll in order to stand.
A government lawyer said it would appeal against the ruling.
His repeated arrests over the past two years have sparked several bouts of deadly unrest in one of West Africa's most stable democracies.
Jubilant supporters welcomed the verdict in court, reports the AFP news agency.
He has until 26 December to register his candidacy for the election.
He's been in custody since the end of July, when he was arrested on charges of insurrection and the authorities dissolved his party, Pastef.
The previous month, Sonko, 49, was convicted after being accused of sexually assaulting and threatening a massage therapist at a beauty salon in 2021. She was 20 when she made the accusations, which he denied.
Sonko, who is popular among Senegal's large population of unemployed youth, has undergone a meteoric political rise in the last few years.
After his dismissal as a tax inspector in 2016, he was elected to parliament and became mayor of the southern city of Ziguinchor.
He ran in the 2019 presidential elections, coming third.
President Macky Sall has said he will not stand for re-election, following speculation that he would seek an unconstitutional third term.
Latest Stories
-
Burnley score late to draw with Manchester United at Old Trafford
2 hours -
Bayer Leverkusen extend unbeaten run to 46 games after draw with Stuttgart
2 hours -
Chelsea come from two goals down to draw against Aston Villa
2 hours -
Andre Ayew scores in Le Havre’s 3-3 draw with PSG
3 hours -
GPL 2023/24: Kotoko draw with Medeama; Samartex go 7 points clear of Nations FC
3 hours -
Mahama cuts sod for construction of new multipurpose Jakpa palace in Damongo
3 hours -
NSS management assists Papao fire victims
4 hours -
EXPLAINER: Will dumsor end soon?
4 hours -
IMANI Africa takes on EC, accuses it of lying and publishing half truths
5 hours -
Manasseh Azure calls for investigation and prosecution of those responsible for GRA/SML contract
5 hours -
Kwesi Atuahene: Ghana’s health capital depends on HealthTech – Africa Center for Digital Transformation
6 hours -
13 signs your wife is planning on leaving you and you have no idea
6 hours -
IMANI Africa: Ghana’s EC’s dangerous and pathological conduct
6 hours -
If I speak there will be fire – Salah on Klopp row
7 hours -
Grieving after divorce is normal, but this particular kind of grief isn’t
7 hours