Pakistan Prime Minister Imran Khan had his reign brought to an end after losing a vote of no confidence in his leadership.
The vote took place after midnight after opposition parties tabled a motion against him after days of drama.
The motion was first tabled last week, but Imran Khan blocked it by dissolving Parliament.
Sunday’s vote came after the country’s Supreme Court ruled in favor of opposition parties, saying PM Khan had acted unconstitutionally.
Opposition leader Shehbaz Sharif said Pakistan and its parliament were “finally out of a grave crisis”, adding in a tweet: “Congratulations to the nation of Pakistan on this new morning”.
Imran Khan, a former cricketer during his prime days, is the first Pakistani prime minister to be ousted on a no-confidence motion.
Opposition parties amassed 174 votes in favor of the no-confidence motion in the 342-member House.
His successor, who will be elected by parliament on Monday, can remain in power until October 2023, the date of the next elections.