Pakistan’s president dissolved Parliament on Sunday, setting the stage for early elections after the prime minister sidestepped a no-confidence move earlier in the day.

Imran Khan asked President Arif Alvi to dissolve the National Assembly, or lawmaking lower house of Parliament, accusing his political opposition of working with the United States to overthrow his government.

Pakistan’s constitution calls for the establishment of an interim government to see the country toward elections, which are to be held within 90 days. According to the constitution, the interim government is to be established with input from the opposition.

BIDEN ADMIN CONSIDERING REMOVING IRAN'S IRGC FROM TERROR LIST AS PART OF IRAN DEAL TALKS: SOURCES

Khan’s political opponents have called a decision by the Parliament’s deputy speaker to throw out their no-confidence resolution illegal and vowed to go to the Supreme Court.

The battle between Khan, a cricket star turned conservative Islamic leader, and his political opposition has mired the nation in political turmoil.

The deputy speaker threw out the opposition’s no-confidence resolution after Information Minister Fawad Chaudhry accused the opposition of colluding with a foreign power to stage a "regime change."

Pakistan military

Pakistani paramilitary troops stand guard with riot gears outside the National Assembly, in Islamabad, Pakistan, Sunday, April 3, 2022. (AP Photo/Anjum Naveed)

Khan, who was not in Parliament, went on national television to say he would ask Pakistan’s president to dissolve the body and hold elections.

"I ask people to prepare for the next elections. Thank God, a conspiracy to topple the government has failed," Khan said in his address.

The opposition arrived in Parliament ready to vote Khan out of power, and his small but key coalition partners, along with 17 of his own party members, joined the opposition to oust him. They needed a simple majority of 172 votes in Pakistan’s 342-seat Parliament. 

MOSQUE BOMBED IN NORTHWEST PAKISTAN, AT LEAST 30 KILLED

The political turmoil also caused the country’s security agencies to lock down the capital of Islamabad.

Giant metal containers blocked roads and entrances to the capital’s diplomatic enclave and to Parliament and other sensitive government installations in the capital. A defiant Khan had called for supporters to stage demonstrations countrywide.

Khan has accused the opposition of being in cahoots with the United States to unseat him, saying America wants him gone over his foreign policy choices that often favor China and Russia. Khan has also been a strident opponent of America’s war on terror and Pakistan’s partnership in that war with Washington.

Pakistan demonstrators

Supporters of ruling party Pakistan Tehreek Insaf chant slogans during a protest in Islamabad, Pakistan, Sunday, April 3, 2022. (AP Photo/Rahmat Gul)

Khan has circulated a memo which he insists provides proof that Washington conspired with Pakistan’s opposition to unseat him because America wants "me, personally, gone ... and everything would be forgiven."

Political chaos also spread to the country’s largest Punjab province, which is set to vote for a new chief minister. Khan’s choice faced a tough challenge and his opponents claimed they had enough votes to install their choice.

With 60% of Pakistan’s 220 million people living in Punjab, it is considered the most powerful of the country’s four provinces. Also, on Sunday the government announced the dismissal of the provincial governor, whose role is largely ceremonial and is chosen by the federal government. But it further deepened the political turmoil in Pakistan.

MISSILES FIRED TOWARD US CONSULATE IN IRAQ CAME FROM IRAN: OFFICIALS

Pakistan’s main opposition parties, whose ideologies span the spectrum from left to right to radically religious, have been rallying for Khan’s ouster almost since he was elected in 2018.

Khan’s win was mired in controversy amid widespread accusations that Pakistan’s powerful army helped his Pakistan Tehreek Insaf (Justice) Party to victory.

Asfandyar Mir, a senior expert with the Washington-based U.S. Institute of Peace, said the military’s involvement in the 2018 polls undermined Khan’s legitimacy from the outset.

Pakistan military

Security personnel stand guard during a protest in Islamabad, Pakistan, Sunday, April 3, 2022. (AP Photo/Rahmat Gul)

"The movement against Imran Khan’s government is inseparable from his controversial rise to power in the 2018 election, which was manipulated by the army to push Khan over the line," said Mir. "That really undermined the legitimacy of the electoral exercise and created the grounds for the current turmoil. "

Pakistan’s military has directly ruled Pakistan for more than half of its 75-year history, overthrowing successive democratically elected governments. For the remainder of that time it has indirectly manipulated elected governments from the sidelines.

PUTIN HOSTS PAKISTAN PRIME MINISTER AMID RUSSIA’S UKRAINE INVASION

The opposition has also accused Khan of economic mismanagement, blaming him for rising prices and high inflation. Still, Khan’s government is credited with maintaining a foreign reserve account of $18 billion and bringing in a record $29 billion last year from overseas Pakistanis.

Khan’s anti-corruption reputation is credited with encouraging expatriate Pakistanis to send money home. His government has also received international praise for its handling of the COVID-19 crisis and implementing so-called "smart lockdowns" rather than countrywide shutdowns. As a result, several of Pakistan’s key industries, such as construction, have survived.

Khan’s leadership style has often been criticized as confrontational.

Supporters of ruling party Pakistan Tehreek-e-Insaf (PTI) chant slogans during a protest in Islamabad, Pakistan, Sunday, April 3, 2022. Pakistan's embattled Prime Minister Imran Khan said Sunday he will seek early elections after sidestepping a no-confidence challenge and alleging that a conspiracy to topple his government had failed. (AP Photo/Rahmat Gul)

Supporters of ruling party Pakistan Tehreek-e-Insaf (PTI) chant slogans during a protest in Islamabad, Pakistan, Sunday, April 3, 2022. Pakistan's embattled Prime Minister Imran Khan said Sunday he will seek early elections after sidestepping a no-confidence challenge and alleging that a conspiracy to topple his government had failed. (AP Photo/Rahmat Gul) (AP)

"Khan’s biggest failing has been his insistence on remaining a partisan leader to the bitter end," said Michael Kugelman, deputy director of the Asia Program at the Washington-based Wilson Center.

"He hasn’t been willing to extend a hand across the aisle to his rivals," said Kugelman. "He’s remained stubborn and unwilling to make important compromises. As a result, he’s burned too many bridges at a moment when he badly needs all the help he can get."

UN: MORE THAN 100 FORMER AFGHAN TROOPS, OFFICIALS KILLED SINCE TALIBAN TAKEOVER

Khan’s insistence there is U.S. involvement in attempts to oust him exploits a deep-seated mistrust among many in Pakistan of U.S. intentions, particularly following 9/11, said Mir.

Washington has often berated Pakistan for doing too little to fight Islamic militants even as thousands of Pakistanis have died in militant attacks and the army has lost more than 5,000 soldiers. Pakistan has been attacked for aiding Taliban insurgents while also being asked to bring them to the peace table.

CLICK HERE TO GET THE FOX NEWS APP 

"The fact that it has such easy traction in Pakistan speaks to some of the damage U.S. foreign policy has done in the post 9/11 era in general and in Pakistan in particular," said Mir. "There is a reservoir of anti-American sentiment in the country, which can be instrumentalized easily by politicians like Khan."