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.


Six killed in Swiss bus blaze after person reportedly sets themselves on fire
US says it destroyed mine-laying vessels as Trump warns Iran over strait
Britain working with allies to support shipping through Strait of Hormuz
Wildlife to replace humans on next series of UK banknotes
Five Iranian women's soccer players granted humanitarian visas in Australia
Almost 700,000 displaced after Israeli strikes on Lebanon, UN agencies say
British warship HMS Dragon departs for Eastern Mediterranean
One dead, several injured in Iranian attack on Manama building
