Pakistan's incumbent party have rejected early election results that suggest former cricket hero Imran Khan is on his way to becoming the country's next prime minister, alleging "blatant" rigging.
But on Thursday, Pakistan's top election official batted away the allegations, defending an ongoing delay in the formal vote count as a technical issue.
The Election Commission of Pakistan (ECP) denied the claims, saying a new electronic results system suffered unexpected glitches.
Despite the technical issues, "these elections were 100 percent fair and transparent", said Chief Election Commissioner Sardar Muhammad Raza on Thursday, in his first comments after polls closed.
Raza did not say when election authorities would be in a position to announce the results. The comments reflected similar remarks by the ECP's secretary hours earlier.

Imran Khan has vowed to tackle corruption and is widely seen as a favourite to win. Source: AP
On Wednesday Shahbaz Sharif, the leader of the Muslim League-Nawaz (PML-N), dismissed results from the nationwide poll as counting was still underway.
"Today what they have done has pushed Pakistan back 30 years... We reject this result," Sharif, the brother of Pakistan's jailed ex-leader Nawaz Sharif, told a press conference in Lahore.
Shortly before he spoke to state television he said just one-fifth of the votes had been counted so far.
Khan, a Pakistani international cricketer turned politician, leads in the projected partial results but his party is still expected to fall short of a clear majority.
As the counting continued, projections from four local TV channels put Mr Khan's party ahead, estimating it would win between 107 and 120 seats of 272 elected seats available, while Sharif's outgoing ruling party was estimated at between 42 and 69.
But the election has been marred by widespread allegations of pre-poll meddling by the powerful military in favour of Khan, which saw the process dubbed Pakistan's "dirtiest election".

Former Pakistani prime minister Nawaz Sharif (left) and his brother Shahbaz Sharif (right). Shahbaz Sharif has rejected claims Khan has pulled away. Source: AFP
As election workers sorted through massive piles of paper ballots, other parties including the Pakistan Peoples Party (PPP) also alleged the count was being manipulated.
"My candidates complaining polling agents have been thrown out of polling stations across the country," tweeted PPP leader Bilawal Bhutto Zardari, adding: "Inexcusable & outrageous".
In a WhatsApp message, the PML-N also claimed security forces had taken over polling stations.
The Election Commission's secretary Babar Yaqoob earlier flatly denied allegations of vote count manipulation.
With the count still, a long way to go, PTI supporters were already celebrating in cities across the country, including Lahore, Islamabad, Multan and Rawalpindi, with fireworks, dancing and reports of celebratory gunshots.
"Imran is honest. He is a cool leader," first-time voter Ammar Haider, 20, told AFP at a street celebration in Islamabad.
The rigging allegations came after a suicide bombing in the southwestern city of Quetta, claimed by the Islamic State (IS) group, killed at least 31 people and cast a shadow over voting day. Local officials said the bomber tried to enter a polling station and when police stopped him he blew himself up.
It was the second major attack by IS this month in Balochistan province after an earlier blast at a campaign rally killed 153.

Tense scenes as Pakistani soldiers patrol as voters go to the polls. Source: AFP
Two-way race
The vote was a rare democratic transition of power in the populous but poor nuclear-armed Muslim country, which has been ruled by the armed forces for roughly half its history.
The contest largely became a two-way race between Khan's Pakistan Tehreek-e-Insaf (PTI) and the PML-N of ousted premier Nawaz Sharif, whose brother Shahbaz is leading its campaign.
Bhutto - son of slain prime minister Benazir Bhutto - and his PPP could be called upon to form a coalition with any winner.
Shortly after polls closed on Wednesday election researcher Azeema Cheema said the contest remained "too competitive to call", with the most populous province of Punjab - which has 141 out of the 272 directly elected seats in the National Assembly - likely to be the key following fierce campaigning in battleground areas there.
To form a majority government outright, the contest's winner would need to snatch 137 seats. But analysts predict a coalition will be more likely.
Gallup Pakistan estimated turnout at between 50 to 55 per cent in an electorate of nearly 106 million, similar to the previous contest in 2013.
There were more than 19 million new potential voters, including millions of women and young people.
Voters in Lahore, capital of Punjab and traditionally a PML-N stronghold, said they were abandoning the party in favour of PTI.
"I have voted for PML-N my whole life but this time I voted for PTI because Imran Khan has promised free education and health," said 75-year-old Uzma Akram.

The scene following the Islamic State-claimed suicide attack at a polling station in Quetta, Pakistan. Source: AAP
Up to 800,000 police and troops were stationed at more than 85,000 polling stations across the country, after a string of attacks targeting political events in the final weeks of the campaign killed more than 180 people, including three candidates.
'New Pakistan'
Khan, 65, campaigned on populist promises to build a "New Pakistan" and vowed to eradicate corruption, clean up the environment and construct an "Islamic welfare" state.
But the erstwhile playboy's bid for power was dogged by widespread accusations he is benefiting from the support of the country's powerful security establishment. The media, activists and think tanks have decried a "silent coup" by the generals.
The military has rejected the accusations.
Election authorities granted military officers broad powers inside polling centres which further stirred fears of manipulation. Journalists were barred from entering polling stations in Lahore and Rawalpindi at several points throughout the day.
Khan has also increasingly catered to hardline religious groups, particularly over the inflammatory issue of blasphemy, sparking fears a win for PTI could embolden Islamist extremists.
The PML-N says it is the target of the alleged military machinations. Nawaz Sharif was ousted from power last year and jailed over a corruption conviction days before the vote, removing Khan's most dangerous rival.
Share

