The final results in Pakistan's general election have put independent candidates backed by jailed ex-PM Imran Khan's PTI party in the lead.
Independents won 101 of the National Assembly seats. BBC analysis shows 93 of them went to PTI-backed candidates.
That puts them ahead of ex-PM Nawaz Sharif's PMLN who won 75 and it is unclear who will form a government.
As wrangling continues, independent candidates who did not win have flooded courts with vote-rigging allegations.
Both the PTI, which was blocked from taking part in the election, and Mr Sharif's PMLN say they want to form the next government.
The result was a surprise as most observers had expected Mr Sharif's party - widely seen as having the powerful military's backing - to win, given Mr Khan had been jailed on charges ranging from corruption to having married illegally and his party was barred from the ballot sheet.
To govern, a candidate has to show they are at the head of a coalition with a simple majority of 169 seats in the National Assembly.
Nawaz Sharif's PMLN has said that it has started formal discussions with Bilawal Bhutto Zardari's PPP about forming a government. In a statement released by the PMLN the party said: "The leaders agreed to cooperate politically to bring the country to political stability."The two parties formed an alliance to oust Mr Khan, from power in 2022 and ruled until last August.
The Karachi-based MQM party has also made a surprising return in the polls, winning 17 seats, and could play a role in any coalition.
Of the National Assembly's 366 seats, 266 are decided by direct voting and 70 are reserved - 60 for women and 10 for non-Muslims - and these are allocated according to the strength of each party in the assembly.
Under Pakistan's rules, independent candidates are not eligible to be allocated reserved seats in parliament.
The PTI, among several other parties, has called for protests against the results, alleging they have been rigged.
On Sunday, police blocked streets near the electoral commission building in the city of Rawalpindi with barbed wire and large trucks, preventing any protestors from accessing it.
For about 90 minutes, a crowd of a few hundred protestors chanted on the street. Then the atmosphere turned. Police used several rounds of teargas to disperse the crowd, which then left the area.
The Punjab police told the BBC that there was a section 144 in place - a colonial-era law that stopped a gathering of more than four people.
This restriction had been put in place before the election until 12 February, but it detailed that civilians were not allowed to carry firearms, not that they were prevented from gathering.
Police in Islamabad said action would be taken against demonstrators.
The PTI's chairman had called for peaceful protests outside electoral commission offices where they were concerned about "forged" results.
Pakistani media reported that the PTI party claimed that the results of at least 18 National Assembly seats were "falsely changed" by election officers.
On Saturday, Mr Sharif - who is thought to be favoured by the military - called for other parties to help him form a unity government.
As negotiations got under way between Mr Khan's political rivals, experts have warned Pakistan could be facing a "prolonged period of political instability".
Dr Farzana Shaikh from the Chatham House think tank told the BBC that the Khan-linked independents were unlikely to be allowed to form a government and many people feared a "weak and unstable coalition" would result from any tie-up between Mr Sharif and the PPP.
Meanwhile, at least six PTI-backed candidates who did not win their seats have lodged legal challenges in the courts to try to get the outcome overturned.
Among them is Yasmin Rashid, who stood against Mr Sharif in Lahore. The petitioners allege collusion in the alteration of election results on specific forms.
Pakistani officials have denied any irregularities. The PMLN has also reportedly formed a legal team to address rigging allegations.
Latest Stories
-
I want to focus more on my education – Chidimma Adetshina quits pageantry
3 hours -
Priest replaced after Sabrina Carpenter shoots music video in his church
4 hours -
Duct-taped banana artwork sells for $6.2m in NYC
4 hours -
Arrest warrants issued for Netanyahu, Gallant and Hamas commander over alleged war crimes
4 hours -
Actors Jonathan Majors and Meagan Good are engaged
4 hours -
Expired rice saga: A ‘best before date’ can be extended – Food and Agriculture Engineer
4 hours -
Why I rejected Range Rover gift from a man – Tiwa Savage
4 hours -
KNUST Engineering College honours Telecel Ghana CEO at Alumni Excellence Awards
5 hours -
Postecoglou backs Bentancur appeal after ‘mistake’
5 hours -
#Manifesto debate: NDC to enact and pass National Climate Law – Prof Klutse
5 hours -
‘Everything a manager could wish for’ – Guardiola signs new deal
5 hours -
TEWU suspends strike after NLC directive, urges swift resolution of grievances
5 hours -
Netflix debuts Grain Media’s explosive film
6 hours -
‘Expired’ rice scandal: FDA is complicit; top officials must be fired – Ablakwa
6 hours -
#TheManifestoDebate: We’ll provide potable water, expand water distribution network – NDC
6 hours