Pakistan's Supreme Court has scrapped lifetime bans from contesting elections for people with past convictions.
This verdict gives Nawaz Sharif the chance to become prime minister for a fourth time.
Sharif's party, Pakistan Muslim League-Nawaz (PML-N), is considered a frontrunner to win the election, scheduled for February 8, with his main rival, former prime minister Imran Khan, in jail and barred from contesting the polls for five years.
Sharif, 74, was found guilty in 2017 of dishonest practices and a subsequent ruling from the Supreme Court barred for life people found guilty under certain constitutional provisions, including Sharif.
While Sharif was not an applicant in the latest case, which was filed by other banned politicians, the verdict makes him eligible to contest the polls as more than five years have elapsed since his 2017 conviction.
Imran Khan, 71, whose party won the last elections in 2018, will not benefit from the ruling as it abolishes only lifetime bans, which means the cricketer-turned-politician remains disqualified until 2028.


Trump says US military strike killed leader of Venezuela's Tren de Aragua gang
US and Iran signal a peace deal is close
Qatar rejects media report on energy production decisions
Trump says Iran war deal close as Strait of Hormuz tensions linger
Victims' families mark Air India crash anniversary with prayers and tributes
Ebola outbreak spreads to crowded displacement camp in Congo
Fire breaks out at New Zealand's Wellington airport, disrupting flights
Ukraine and Russia trade overnight drone strikes, officials say
