Pakistan’s Supreme Court has ruled there is insufficient evidence of corruption to remove Nawaz Sharif from the role of prime minister.
It instead ordered a further investigation into money transfers.
Questions arose over the business dealings of Mr Sharif’s family when three of his children were linked to offshore accounts in the Panama Papers leaks in 2015.
Mr Sharif and his family have denied any wrongdoing.
They have dismissed the claims as politically motivated.
The case has made headlines in recent months amid predictions it could determine the future of PM Sharif.
About 1,500 police officers were deployed around the court in Islamabad. Protesters nearby urged Mr Sharif to step down with shouts of “Go Nawaz, Go Nawaz”, Reuters reports.