ISLAMABAD (AP) — Pakistan's beleaguered Prime Minister Nawaz Sharif stepped down Friday after the Supreme Court ordered him removed from office over allegations of corruption, plunging the nuclear-armed nation into a political crisis.
The five-judge panel acted on petitions filed by Sharif's political opponents alleging that he and his family failed to disclose assets stemming from last year's "Panama Papers" leaks. The court ordered that criminal charges be filed against Sharif and four relatives.
In a unanimous decision, the court said he had not been "truthful and honest," and it also dismissed him from the National Assembly — the lower house of Parliament.
Sharif immediately resigned in what he called a show of respect for the judiciary, even though he said the court's decision was unjustified.
The landmark ruling threw Pakistan, which is battling attacks by Islamic militants, into political disarray and raised questions about who will succeed Sharif — and even who is running the country at the moment.
The court asked Pakistan's figurehead President Mamnoon Hussain to "ensure continuation of the democratic process." He is expected to convene the National Assembly once Sharif's ruling Pakistan Muslim League party, which enjoys a comfortable majority, nominates a successor to serve as prime minister until general elections are held in June 2018.
Sharif's political opponents danced in the streets and opposition leader Imran Khan urged them to gather Sunday in the capital of Islamabad to celebrate their legal victory against the "corrupt ruling elite."
Khan, a former cricket star, described the disqualification as a "good omen" for Pakistan. He said at a news conference that he hopes all those who "looted" the nation's wealth would face a similar fate.
Sharif's party expressed its disappointment and urged supporters to keep calm and avoid confrontations.
"This decision is not surprising, but we are disappointed," Information Minister Maryam Aurangzeb told reporters.
The 67-year-old Sharif, who has served three separate stints as prime minister, has a history of rocky relations with Pakistan's military, the country's most powerful institution. He was first dismissed from power by the army's hand-picked president in 1993 about midway through his five-term term. In 1999, military dictator Gen. Pervez Musharraf overthrew Sharif in a bloodless coup and exiled him to Saudi Arabia.
Sharif's supporters suggested the military applauded the court decision because it viewed him as an upstart who sought to challenge its authority.
The military has ruled Pakistan for more than half of its 70-year history and has been unwilling to see its influence challenged.
Sharif's relations with the military reached a new low in recent months after a respected English-language newspaper published a front-page article claiming a rift between civilian and military leaders over fighting militancy. The army suspected Sharif's government leaked the story and tweeted its dissatisfaction with his attempts to make amends by firing a government minister suspected of links to the reporter.
Political analyst Mehdi Hassan said the army may not have played a direct role in Sharif's dismissal, but representatives of the powerful ISI and Military Intelligence on the court-appointed investigation team may have contributed to the final decision.
Sharif's political opponents, many of whom have questionable records concerning corruption themselves, saw the decision as a vindication of their months-long battle and proof that even the politically powerful can be held accountable.
The court ordered that criminal charges be filed against Sharif, his two sons, his son-in-law and his daughter, Maryam Nawaz. It said the charges must be brought within six weeks and decided within six months.
The case dates back to the "Panama Papers" disclosures in 2016, when documents leaked from a Panama-based law firm indicated that Sharif's sons owned several offshore companies.
Sharif's son, Hussain Nawaz, at the time acknowledged owning offshore companies but insisted they used legally acquired funds to set up businesses abroad.
The court-appointed investigators in July concluded, however, that a significant disparity existed between the Sharif family's declared wealth and its known sources of income.
Maryam Nawaz tweeted that her father would "return with greater force," and she asked her party to "stay strong."
The court on Friday also ordered Pakistan's anti-corruption body to file corruption charges against Finance Minister Ishaq Dar, a close relative of Sharif's.
Hashmat Habib, a legal expert, said the court's order was final and that Sharif and his family could not appeal.
It was the second time Pakistan's Supreme Court has disqualified a prime minister. In 2012, the court found Prime Minister Yusuf Raza Gilani guilty of contempt and ordered him to step down.
Zafar Ullah, a senior leader from Sharif's ruling party, said he did not know whether it was "an irony of history or it was because of some conspiracy," but no elected prime minister has served a full term in Pakistan.
Associated Press writer Kathy Gannon in Kabul, Afghanistan, contributed.