Pakistan's Imran Khan Declares Victory In Elections As Rivals Allege Rigging

Your browser doesn’t support HTML5

WATCH: Imran Khan, A Cricket Legend On The Cusp Of Power In Pakistan

Pakistani politician and former cricket star Imran Khan has declared victory for his Pakistan Tehrik-e Insaf (PTI) party in the country's July 25 national elections that were marred by long delays in vote-tallying and allegations of rigging by rivals.

In a televised speech on July 26, Khan said "thanks to God, we won and were successful," adding that "if God wills, we will set an example."

The Associated Press reported early on July 27 that official results had given Khan the win, but that he will need to form a coalition government.

AP said that Pakistan election officials in final results gave Khan's party 109 of 269 seats being contested in the National Assembly. They gave his nearest rival, jailed former Prime Minister Nawaz Sharif's Pakistan Muslim League-Nawaz (PML-N) ruling party, 63 seats.

Third place went to the left of center Pakistan People's party with 39 seats, and results from 20 seats were still being counted, AP said.

Your browser doesn’t support HTML5

Chaos And Carnage After Deadly Blast At Quetta Polling Station

The PML-N and several other parties have rejected the results and alleged major vote-rigging and manipulation.

In his speech, Khan called for "mutually beneficial" ties with the United States despite strained diplomatic relations.

"Unfortunately, our relations have so far remained one-way," said the 65-year-old. "I mean the U.S. assists Pakistan so that it can help fight the American war [in Afghanistan]. This has damaged Pakistan a lot. We want a relationship that is...balanced."

He also expressed support for peace in neighboring Afghanistan.

Kabul and Washington accuse Islamabad of providing safe havens for militant groups like the Afghan Taliban and Haqqani Network that are fighting Afghan and U.S. troops in Afghanistan.

"If Afghanistan is at peace, Pakistan will also have peace," said Khan. "Our government will try its best to bring peace in Afghanistan."

He also expressed support for peace in neighboring Afghanistan and offered an olive branch to arch-rival India, saying the two nuclear-armed nations should resolve a longstanding dispute over the Himalayan region of Kashmir.

Your browser doesn’t support HTML5

Imran Khan Supporters Celebrate In Lahore

If confirmed, Khan's victory would mark his stunning rise from struggling politician to the highest civilian office in the country.

Early results suggested the PTI will likely fall short of the 137 seats needed for a majority in the National Assembly, raising the prospect that it would need to find coalition partners among smaller parties and independents.

If confirmed as prime minister, Khan's victory would mark his stunning rise from struggling politician to the highest civilian office in the country.

Born to a privileged family and educated at Britain's University of Oxford, Khan was known for his playboy lifestyle and married wealthy British heiress Jemima Goldsmith in 1996. He has since remarried twice.

Khan has criticized Pakistani liberals and embraced conservative Islam as a politician, promising an Islamic-style justice system. He has allied himself with extremist religious groups with ties to militancy.

Khan, a populist who has run on an anticorruption platform, has promised voters a "new Pakistan."

He characterized his campaign as a battle against political elites -- dominated by long-established parties like the PML-N and PPP -- that he accuses of hindering economic development in the impoverished country of 208 million.

In contrast to the PML-N, Khan is also against China's huge investment in Pakistan, which has racked up billions of dollars in debt to Beijing.

Khan has been an outspoken critic of the U.S.-led war in neighboring Afghanistan and of U.S. drone strikes against militants in Pakistan.

He is also widely believed to be backed by the army, which fell out with Nawaz Sharif, who looked to curb the military’s traditional dominance in politics.

"Khan's ties with the military are very cordial," said Talat Masood, a political commentator and former military general." He has said that there will be less chances of confrontation with the military and he will work in close cooperation with them."

Khan’s foreign-policy views are also in stark contrast to the PML-N. He has voiced opposition to China's huge investment in Pakistan, which has racked up billions of dollars in debt to Beijing.

Khan has been an outspoken critic of the U.S.-led war in neighboring Afghanistan and of U.S. drone strikes against militants in Pakistan.

But analysts doubt Khan can radically change Pakistan's foreign policy, which is shaped by the army.

"The room for changing the country's foreign policy in a drastic sense is very little," said Ahmed Bilal Mehboob, the head of the Pakistan Institute of Legislative Development and Transparency, an Islamabad-based think tank.

Only hours after polls had closed, Shahbaz Sharif claimed the vote had been "rigged," citing complaints that soldiers stationed in polling stations had thrown out poll monitors from political parties during the counting.

About 371,000 soldiers were stationed at polling stations across the country during voting on July 25, nearly five times the number deployed at the last election in 2013.

"I will reject the election results,” said Sharif, who has accused the military of backing Khan to deny his party victory.

The leaders of other political parties, the PPP, and the Muttahidda Qaumi Movement, also expressed concerns about irregularities during voting.

In addition to charges of fraud, the vote was overshadowed by a suicide bombing early on July 25 which killed 31 people outside a polling station in the southwestern city of Quetta. The Islamic State (IS) extremist group claimed responsibility for the attack.

An elderly Pakistani man shows his inked thumb after casting his vote outside a polling station during general elections in Lahore.

The elections mark only the second time in Pakistan’s 70-year history that a civilian government has completed a full term and handed over power to another civilian administration through the ballot box.

Pakistan's military has ruled for approximately half the period since the country’s independence in 1947, staging coups three times.

Voting appeared to be heavy in major urban centers, where long lines of voters were seen. Electoral authorities turned down a request by several political groups to extend the voting deadline by one hour beyond the scheduled early evening close to accommodate the lines of voters.

Almost 106 million voters were eligible to cast ballots for the 342-member National Assembly, or the lower house of parliament, and assemblies in Khyber Pakhtunkhwa, Punjab, Sindh, and Balochistan provinces.

Sixty seats in the National Assembly are reserved specifically for women and 10 for non-Muslim minorities.

Before the vote, Pakistan's independent Human Rights Commission said the campaign had been characterized by "blatant, aggressive, and unabashed attempts to manipulate" the outcome, with a crackdown on the media and intimidation of candidates.

Polling officers count ballots at a polling station in Islamabad.

Those and other allegations pointed to Pakistan's powerful military establishment.

The PML-N, in addition to alleging rigging at the polls, has accused the army of influencing the judiciary to deny it a second term.

Former premier Sharif, a vocal critic of the army, was sentenced to 10 years in prison on corruption charges in absentia and was arrested after returning to Pakistan on July 13. He has appealed his sentence.

With reporting by Reuters, AP, AFP, and Dawn