Pakistan's lower house of parliament has voted in favour of removing Prime Minister Imran Khan from office, following a nearly 14-hour standoff between the opposition and Mr Khan's ruling party that started this morning.

Opposition parties were able to secure 174 votes in the 342-member house in support of the no-confidence motion, the house speaker said, making it a majority vote.

There were just a few legislators of Mr Khan's ruling party present for the process.

The vote means Mr Khan will no longer hold office and the country's lower house will now elect a new prime minister and government.

No prime minister has ever served a full term in Pakistan, but Mr Khan is the first to lose office through a vote of no confidence.

It was not immediately clear when the assembly will choose a new premier but, opposition leader Shehbaz Sharif was almost certain to be picked to lead the nuclear-armed nation of 220 million people after weeks of high political drama.

Mr Khan, 69, tried everything he could to stay in power - including dissolving parliament and calling a fresh election - but the Supreme Court deemed all his actions illegal last week, and ordered the assembly to reconvene and vote.