Islamabad, Pakistan (CNN)Pakistan's Prime Minister Imran Khan link has been ousted as the country's leader following a vote of no confidence over allegations of economic mismanagement and mishandling of the country's foreign policy, bringing an end to his tumultuous term in office. The parliamentary vote, held Sunday, saw the former cricket star defeated. The opposition needed a minimum of 172 votes out of the 342 member assembly to oust him. The vote of no confidence was backed by an alliance of politicians including more than a dozen defectors from Khan's own political party.
The vote took place after Pakistan's Supreme Court ruled Thursday link a decision to block a previous vote link of no confidence against Khan over allegations of economic mismanagement was unconstitutional.
In its decision, the Supreme Court also quashed Khan's earlier order to dissolve parliament and call for early elections, calling it of "no legal effect."