ISLAMABAD — Former Pakistani Prime Minister Nawaz Sharif declared victory following a historic election marred by violence Saturday, a remarkable comeback for a leader once toppled in a military coup and sent into exile.
The 63-year-old Sharif, who has twice served as premier, touted his success after unofficial, partial vote counts showed his Pakistan Muslim League-N party with an overwhelming lead. The party weathered a strong campaign by former cricket star Imran Khan that energized Pakistan's young people.
Sharif expressed a desire to work with all parties to solve the country's problems in a victory speech given to his supporters in the eastern city of Lahore as his lead in the national election became apparent based on vote counts announced by Pakistan state TV.
The results, which need to be officially confirmed, indicated Sharif's party has an overwhelming lead but would fall short of winning a majority of the 272 directly elected national assembly seats. That means he would have to put together a ruling coalition.
"I appeal to all to come sit with me at the table so that this nation can get rid of this curse of power cuts, inflation and unemployment," Sharif said, as his supporters clapped, cheered and danced in the streets.
Despite attacks against candidates, party workers and voters that killed 29 people Saturday, Pakistanis turned out in large numbers to elect the national and provincial assemblies. The high participation was a sign of Pakistanis' desire for change after years of hardship under the outgoing government, and it offered a sharp rebuke to Taliban militants and others who have tried to derail the election with attacks that have killed more than 150 people in recent weeks.
"Our country is in big trouble," said Mohammad Ali, a shopkeeper who voted in Lahore. "Our people are jobless. Our business is badly affected. We are dying every day."
The vote marked the first time a civilian government has completed its full five-year term and transferred power in democratic elections in a country that has experienced three coups and constant political instability since it was established in 1947.
The election was being watched closely by the United States, which relies on the nuclear-armed country of 180 million people for help fighting Islamic militants and negotiating an end to the war in neighboring Afghanistan.
Passion and energy were seen throughout Pakistan, as millions of people headed to the polls, waving flags and chanting slogans in support of their party. Some were young, first-time voters and others elderly Pakistanis who leaned on canes or friends for support as they dropped their vote in the ballot box.
One man, Bilal Masih, even came to a polling station in the central city of Multan dressed in his wedding attire, saying his bride could wait until he voted. He decorated his wedding car with flowers and a stuffed tiger, the symbol of the Pakistan Muslim League-N party he supports.
"I thought that this was my national duty," said Masih, who was wearing a white and red turban and had garlands of flowers around his neck.
The Pakistani Taliban, which has been waging a bloody insurgency against the government for years, tried to disrupt the election because the militants believe the country's democracy runs counter to Islam. The government responded by deploying an estimated 600,000 security personnel across the country to protect polling sites and voters.
Many Pakistanis seemed determined to cast their ballots despite a series of gun and bomb attacks.
"Yes, there are fears. But what should we do?" said Ali Khan, who was waiting to vote in the northwestern city of Peshawar, where one of the blasts took place. "Either we sit in our house and let the terrorism go on, or we come out of our homes, cast our vote, and bring in a government that can solve this problem of terrorism."
Many of the attacks in the run-up to the vote targeted secular parties. That raised concern the violence could benefit hard-line Islamists and others who take a softer line toward the militants, like Sharif and Khan, because they were able to campaign more freely.
The chief of Pakistan's election commission, Fakhruddin Ebrahim, said turnout was near 60 percent of registered voters, the highest since the 1970 election. Many Pakistanis expressed pride that so many of their fellow citizens chose to vote.
"More political activity means more awareness," said Nasira Jibran in Lahore. "More awareness means more accountability."
The apparent victor, Sharif, is the son of a wealthy industrialist, and his party is seen to have a pro-business stance. He is perhaps best known for testing Pakistan's first nuclear weapon in 1998.
Sharif was toppled in a military coup by then-army chief Gen. Pervez Musharraf in 1999 and spent years in exile in Saudi Arabia before returning to the country in 2007. His party came in second in the 2008 elections to the Pakistan People's Party and is seen as more religiously conservative.
Sharif faced a strong challenge from Khan's Pakistan Tehreek-e-Insaf party. The winner of the 1992 cricket World Cup tapped into the frustrations of many Pakistani youths fed up with the country's traditional politicians.
"It's now our turn. We youngsters want our say in national affairs," said voter Rubina Riaz in Lahore.
Khan couldn't vote Saturday because he was in the hospital following a horrific accident this week at a campaign event in Lahore in which he fell off a forklift and broke three vertebrae and a rib.
Sharif countered the challenge from Khan by pointing out how much more experience in government he has and touting key projects he completed while in office, including a highway between the capital Islamabad and his hometown of Lahore.
"It's all about delivering," said Nayyar Naseem, a voter in Lahore. "Nawaz Sharif has delivered. He is experienced."
Sharif also relied on old-style Pakistani politics, which focuses on doling out political patronage, such as government jobs, to win the loyalty of voters.
The battleground between Sharif and Khan was in Pakistan's most populous province, Punjab, where both parties appealed to urban middle class voters. The province contains nearly half of the 272 directly-elected seats in the national assembly.
The outgoing Pakistan People's Party was expected to fare poorly in the election because of unhappiness with its performance leading the last government. The party, which rose to power in 2008 in part by widespread sympathy after the death of party leader Benazir Bhutto, has carried out what many called a lackluster campaign.
The vote in the southern city of Karachi was not only marred by violence Saturday, but also threats to election commission staff. The commission said it would re-do the vote at 40 polling stations in one constituency in the city.
Sharif inherits a country struggling on a number of fronts. Pakistanis suffer from rolling blackouts that can be as long as 18 hours a day as well as a stuttering economy. The government's shaky financial situation means it will likely have to seek another unpopular bailout from the International Monetary Fund.
The country is also battling Taliban militants who want to overthrow the government, while on the western border there are fears that a U.S. military departure from Afghanistan will send violence spilling over into Pakistan.
Sharif has favored negotiations with militants in the country's tribal areas. That could put him at odds with the country's powerful military, potentially exacerbating a relationship that is already prickly because of the coup carried out against the former prime minister.
While Pakistan has been under civilian rule for the last five years, the military still is considered the country's most powerful institution and usually makes the major decisions when it comes to militancy or foreign policy issues such as Afghanistan or India.
In what appeared to be a show of support for democracy in Pakistan, the country's most powerful military officer, Gen. Ashfaq Parvez Kayani, went to the voting booth himself instead of mailing in his ballot. His gesture was broadcast live on local TV.
Associated Press writers Munir Ahmed and Zarar Khan in Islamabad, Atif Raza in Karachi, Riaz Khan in Peshawar, Rasool Dawar in Mir Ali, Anwarullah Khan in Khar, Abdul Sattar in Quetta, Matiullah Achakzai in Chaman, and Asif Shahzad in Lahore contributed to this report.
Related on HuffPost:
Khan is a Pakistani cricket legend-turned-politician who could have a significant impact on the upcoming election. He founded Pakistan Tehreek-e-Insaf, or the Movement for Justice Party, more than 15 years ago, but failed to gain much traction until 2011. That year he marked his rise as a major political player with a rally that drew more than 100,000 people in Lahore, the capital of Punjab province. Khan has appealed to a largely young, urban constituency tired with the current crop of politicians and the corruption that plagues the system. Analysts doubt his party can win enough seats to form the next government, but it could steal key votes away from the PML-N and the PPP, especially in Punjab, and that could affect who wins. <em>Caption: Pakistani former cricket star-turn-politician Imran Khan condemns the movement of NATO supplies to Afghanistan through Pakistan at a rally in Gujranwala near Lahore, Pakistan, Thursday, July 5, 2012. (AP Photo/Aftab Rizvi)</em>
The only son of the president and his late wife, he is set to carry the torch for the Bhutto family political dynasty in Pakistan. His grandfather, Zulfikar Ali Bhutto, founded the PPP and served as the country's president and prime minister. He is too young to participate in the upcoming election – the minimum age is 25 – but will likely play a key role as co-head of the PPP with his father. It remains to be seen how well the Oxford-educated youth can rally the party's largely poor, rural constituency in southern Sindh province since he has lived most of his life outside the country and is still working on his command of Urdu, the national language. <em>Caption: Bilawal Bhutto Zardari, the son of Pakistan President Asif Ali Zardari, waves as he tours the Ajmer Sharif, the shrine of Sufi saint Khwaja Moinuddin Chishti, in Ajmer, 400 kilometers (250 miles) southwest of New Delhi, India, Sunday, April 8, 2012. (AP Photo/ Manish Swarup)</em>
The head of the main opposition party, the Pakistan Muslim League-N, hopes to become prime minister for the third time. His party, which appeals to an industrialist base and is strongest in central Punjab province, is the PPP's main rival to form the next government. Sharif was ousted as prime minister in a bloodless coup in 1999 by Gen. Pervez Musharraf and was sent into exile the following year. He and Bhutto returned to Pakistan in 2007 to lead their parties in the 2008 elections. Bhutto was killed before the elections were held. <em>Caption: Former Pakistani prime minister Nawaz Sharif talks to the media as he presents his party manifesto during a press conference in Lahore on March 7, 2013. (Arif Ali/AFP/Getty Images)</em>