Pakistan's parliament has elected Mr. Shehbaz Sharif as the country's new prime minister, after Mr. Imran Khan was ousted in a no-confidence vote in the early hours of April 10.

The BBC says the opposition coalition leader - who had worked to depose Mr. Imran Khan - won the support of a majority in parliament.

Shehbaz Sharif will now form a new government that can remain in place until elections are due in August 2023.

Mr. Khan, 69, was reportedly voted out after days of high political drama.

He had attempted to block a previous attempt to bring a no-confidence motion against him by dissolving parliament and calling for a snap election.

The country's Supreme Court, however, upheld an opposition petition that his actions were unconstitutional and ordered the no-confidence vote to go ahead.

Mr. Sharif, who was elected in parliament unopposed securing 174 votes, will be Pakistan's 23rd prime minister.

Al-Jazeera says no prime minister has ever completed a five-year term in office during the country’s nearly 75-year history.

The parliamentary vote was reportedly held under tight security, with nearly all roads leading to the National Assembly sealed.

Mr. Sharif comes from a family of industrialists which has become a political dynasty.

The 70-year-old Shehbaz Sharif was elected to the National Assembly in 2018 and headed the Pakistan Muslim League-Nawaz (PML-N) party after his elder brother was barred from holding public office for life after being found guilty of corruption.

Sharif reportedly comes from a family of industrialists which has become a political dynasty.

The 70-year-old Shehbaz Sharif was elected to the National Assembly in 2018 and headed the Pakistan Muslim League-Nawaz (PML-N) party after his elder brother was barred from holding public office for life after being found guilty of corruption.