Pakistan's national election ended with no party winning a majority in parliament, in polls marred by militant violence, political turmoil and questions of transparency.
Former prime ministers and bitter rivals Nawaz Sharif and Imran Khan both declared victory, adding to the uncertainty as the country faces numerous challenges that need to be addressed quickly, including negotiating a new International Monetary Fund programme to keep a struggling $350 billion economy afloat.
Next, a prime ministerial candidate has to show a simple majority of 169 seats in the National Assembly when the house is called in coming days.
The Assembly consists of 336 seats of which 266 are decided through direct voting on polling day. There are also 70 reserved seats - 60 for women and 10 for non-Muslims - allotted according to the strength of each party in the house to determine the final position of parties in the Assembly.
Here are four scenarios on what could happen next:
Sharif Strikes Deal To Head A Coalition Government
Sharif's party, which won 75 seats, strikes a deal with the Pakistan Peoples Party (PPP) of Bilawal Bhutto Zardari, the son of assassinated former premier Benazir Bhutto, which won 53 seats, to pull together a majority in parliament.
The two, along with other smaller parties, form a coalition government in which Sharif or his brother is prime minister and important positions are given to other parties.
The two parties were in government together for 16 months till August, with Bhutto Zardari as foreign minister and Sharif's brother Shehbaz as prime minister.
Khan's Independents Sweep To Power
Khan's independent candidates, who won 93 seats, join a smaller party in parliament in order to form a single bloc to fulfil a requirement for them to be allocated reserved seats. That would push them closer to a majority and allow them to put up a candidate for prime minister.
They can also strike a deal with other parties to support a consensus candidate, which also means Khan's supporters are in power, and can push to have their jailed leader released under an agreement. Khan himself is not eligible to become prime minister.
The party will have to push hard for allies to align with Khan's politics.
Bhutto Zardari Pushes To Head Coalition Government
While Sharif and Khan's candidates won the most seats, no party can form government without the PPP. With both looking to keep the other out of power, the PPP strikes a deal to make the young Bhutto Zardari prime minister.
He pushed the idea before the polls, saying he would bring a fresh approach to pull Pakistan out of multiple crises which other aged leaders have been unable to do.
No Deal, Army Steps In
Uncertainty drags on with no one able to form government. Pakistan's army, the most powerful and organised force in the country, steps in to restore order and takes power as it has done thrice before in the country's 76-year history - the last time in 1999 to overthrow Sharif's government.
The army has already called on political parties to show "maturity and unity".
(This story has not been edited by NDTV staff and is auto-generated from a syndicated feed.)
Track Latest News Live on NDTV.com and get news updates from India and around the world