Pakistan's former ruling party conceded defeat to cricket star-turned-politician Imran Khan ahead of final results from the country's disputed election, which European Union monitors said on Friday had not been fought on a level playing field.
But several smaller parties with tens of thousands of supporters threatened nationwide street protests unless the entire election was re-run, though it was not made clear when they might begin.
Khan, during a speech declaring victory on Thursday, offered to investigate opposition allegations of vote-rigging and said he wanted to "unite" the country under his leadership.
The party of jailed ex-prime minister Nawaz Sharif initially rejected the so far incomplete results, but by Friday its leaders appeared to accept that Khan would be the next prime minister.
"We are going to sit on opposition benches, despite all the reservations," said Hamza Shehbaz Sharif, a parliamentarian and the nephew of Nawaz Sharif, who is in prison after being convicted on corruption charges he disputes.
The allegations of rigging in Wednesday's election followed a bitter campaign in which Pakistan's powerful military was accused of tilting the race in favour of Khan and trying to erase democratic gains made since the most recent spell of military rule ended in 2008. The army has repeatedly denied any interference.
The EU Election Observation Mission, in its preliminary findings, said the electoral process was "not as good" as the 2013 election and campaign week featured a "lack of equality" that meant it was not a level playing field for all parties.
"Many of our interlocutors acknowledged a systematic effort to undermine the former ruling party through cases of corruption, contempt of court and terrorist charges against its leaders and candidates," chief EU observer Michael Gahler told a news conference.
The mission included 120 observers who visited 582 polling stations in all the provinces except Baluchistan.
Gahler said EU observers had not witnessed any military interference in polling stations they assessed.
"On election day, polling was assessed as well conducted and transparent," he said. "However, counting was somewhat problematic with staff not always following the procedures."
He added later: "The credibility or the legitimacy of this process, that is for the people of Pakistan."
The U.S. State Department said it concurred with the observation mission's conclusions that positive changes to the election framework were "overshadowed by restrictions on freedom of expression and unequal campaign opportunities" and shared its concerns about "flaws in the pre-voting electoral process".
Although Khan appeared likely to fall short of the 137 seats needed for a majority in the National Assembly, his better-than-expected results mean he should be able to form a government with small coalition partners.
One of the first tasks for Khan, once he forms the government, will be to avert a currency crisis, following four devaluations of the rupee currency since December, which will likely require Islamabad to seek Pakistan's second International Monetary Fund bailout since 2013.
The latest Election Commission of Pakistan official partial results showed Khan's Pakistan Tehreek-e-Insaf (PTI), or Pakistan Movement for Justice party, had won 115 seats out of the 268 seats counted. The National Assembly has 272 seats in total but two have been postponed and results of two are awaited.
The commission was expected to announce full results sometime on Saturday, nearly three days later than scheduled.
Sharif's Pakistan Muslim League-Nawaz (PML-N)had 63 seats, the results showed. The Pakistan Peoples Party (PPP), led by Bilawal Bhutto Zardari, the son of assassinated two-time prime minister Benazir Bhutto, was third with 43 seats.
"(PML-N) would play the role of a strong opposition," said Shehbaz Sharif, the PML-N president and brother of Nawaz Sharif, according to the English-language Dawn newspaper.
Later on Friday, however, Shehbaz Sharif joined several smaller parties who also alleged rigging met in capital Islamabad in a statement that rejected the results, though the PPP was not present.
Shehbaz Sharif has vowed to offer evidence to the election commission.
Both the PML-N and PPP say their party monitors at many voting centres were either kicked out during counting or had not received the official notifications of the precincts' results, instead of being given handwritten tallies they could not verify.
The smaller parties - including the Islamist coalition Muttahida Majlis-i-Amal with tens of thousands of supporters, said they would launch protests and boycott parliament, but Shehbaz Sharif said he would consult his party before taking such action.
"We do not consider this election to be the mandate of the public, but a theft of the people's mandate," said Maulana Fazal-ur-Rehman from the Jamiat Ulma-e-islam (JUI) party, part of the MMA coalition.
"We will organise protest rallies, he said.
Nearly finalised results also indicated religious parties that fielded more candidates than ever before failed to win any National Assembly seats.
The Allahu Akbar Tehreek party of Hafiz Saeed, who is accused of masterminding the 2008 attacks that killed 166 people in the Indian city of Mumbai, did not win a single seat. Neither did candidates linked to Sunni extremist group Ahl-e-Sunnat Wal Jamaat.
Tehreek-e-Labaik Pakistan, which campaigns under the rallying cry "Death to Blasphemers" also failed to win any seats, although results indicate it garnered a large following across Punjab.