A Pakistan court overturned ex-prime minister Imran Khan's conviction on illegal marriage charges on Saturday, though he remains jailed over allegations of inciting riots.
Khan was slapped with a trio of convictions in the days before February elections -- cases he says were orchestrated to prevent his return to power.
Those cases have now all been at least partially rolled back on appeal, with a treason conviction carrying a decade jail term overturned in April, and a 14-year graft sentence suspended in June, though the conviction still stands.
Khan and his wife Bushra Bibi had also been sentenced to seven years for allegedly marrying too soon after her divorce in a breach of Islamic law.
But Islamabad Additional District and Sessions Court judge Afzal Majoka announced in court that the "appeals of both Imran Khan and Bushra Bibi are accepted".
A spokesman for Khan's Pakistan Tehreek-e-Insaf (PTI) party said the charges had been "dismissed".
Supporters of Imran Khan offer sweets to each other as they celebrate after a Supreme Court verdict in Karachi. AFP
Khan remains locked up, though, after a court this week cancelled his bail over accusations he incited riots by his supporters in May 2023.
Courting controversy
Earlier this month a UN panel of experts found Khan's detention "had no legal basis and appears to have been intended to disqualify him from running for political office".
"Thus, from the outset, that prosecution was not grounded in law and was reportedly instrumentalised for a political purpose," it said, calling for his immediate release after nearly a year in jail.
Candidates loyal to Khan won the most seats in the national election, but were kept from government by an alliance of military-backed rival parties.
Khan served as prime minister from 2018 to 2022, when he was ousted by a no-confidence vote after falling out with the military establishment, which wields huge influence over civilian politics.
In opposition he waged a campaign of defiance against the top generals, who directly ruled Pakistan for decades of its history, even accusing them of an assassination attempt that wounded him.
But the former cricket star's comeback campaign was hobbled by scores of legal cases, which analysts say were likely brought at the behest of the military establishment.
Khan was first briefly arrested in May 2023, sparking nationwide unrest from PTI supporters, some of which targeted military facilities.
The government and military cited the attacks as justification for a sweeping crackdown on PTI, which saw its senior leadership decimated by arrests and defections.
An anti-terrorism court in the eastern city of Lahore on Tuesday refused to bail him as police investigate his alleged role in the unrest, despite the fact he was behind bars at the time.
Surviving the crackdown
PTI candidates were forced to stand as independents in February 8 elections, which had been repeatedly delayed amid political chaos.
Khan's arrest and conviction for graft back in August 2023 meant he was barred from standing for office himself, confined to a cell in Adiala Jail south of the capital Islamabad.
Despite that, candidates loyal to PTI secured more seats than any other party.
Nonetheless they were blocked from power by a broad coalition of parties considered more pliable to the influence of the military.
Polling day itself was marred by allegations of vote-tampering amid a nationwide mobile internet blackout Islamabad said it orchestrated over security concerns.
Agence France-Presse