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.


Saudi Crown Prince bin Salman to visit Trump in White House
Man charged with 10 counts of attempted murder after knife attack on UK train
Tanzania's Hassan sworn into office after deadly election violence
Powerful 6.3 quake kills at least 20 in Afghanistan, hundreds injured
Turkey set to call for action on Gaza as soon as possible, source says
Hamas hands over three more hostage bodies
India federal agency freezes Anil Ambani Group's $853 million properties
Israeli strike kills one in Gaza as sides trade blame for truce violations
