By Robert Birsel
ISLAMABAD (Reuters) - Pakistani President PervezMusharraf's opponents won a big election victory on Tuesdayafter voters rejected his former ruling party, raisingquestions about the future of the U.S. ally who has ruled since1999.
Counting was continuing with results still awaited fromalmost 100 seats, but no party was expected to win a majorityin the 342-seat National Assembly.
The opposition parties of assassinated former PrimeMinister Benazir Bhutto and former Prime Minister Nawaz Sharifappeared to have won enough to command a majority, according tounofficial results. But there is no certainty that they willwork together.
The pro-Musharraf Pakistan Muslim League was trailing adistant third, and the party's spokesman conceded defeat butkept open the possibility of joining a coalition.
"Obviously, the nation has spoken through the ballot. Wecouldn't convince them. They have rejected our policies and wehave accepted their verdict," PML's Tariq Azim Khan toldReuters.
"For the best interest of the country, we're willing tocooperate and work with anybody. Otherwise, we're also ready toplay our role in opposition."
According to unofficial results from 241 seats, Bhutto'sPakistan People's Party (PPP) had won 80 and Sharif's PakistanMuslim League (Nawaz) had 64.
The pro-Musharraf PML trailed with 37. Small parties andindependents shared the others.
Musharraf has said he would accept the results and workwith whoever won to build democracy in a country that hasalternated between civilian and army rule throughout its60-year history.
DECISIVE FACTOR
Some analysts said the decisive factor in the PML's defeatwas Musharraf's unpopularity and resentment over inflation,food shortages and power cuts.
Groups of happy opposition supporters celebrated in thestreets in cities across the country as results trickled out.
Full unofficial results are due later on Tuesday.
Pakistan's main stock market welcomed the peaceful pollsand absence of rigging complaints, and shares rose more than 3percent. But dealers said the formation of a parliament hostileto Musharraf would make investors nervous.
Monday's vote was postponed from January 8 after Bhutto wasassassinated in a suicide attack on December 27, which raisedconcern about the nuclear-armed country's stability.
As president, former army chief Musharraf did not contestthe elections, aimed at completing a transition to civilianrule, but the outcome could seal his fate.
A hostile parliament could try to remove Musharraf, whotook power as a general in a 1999 coup and emerged as a crucialU.S. ally in a "war on terror" that most Pakistanis think isWashington's, not theirs.
Analysts said the implications for a president whosepopularity slumped after he imposed emergency rule and purgedthe judiciary last year were ominous.
"It's the moment of truth for the president," said AbbasNasir, editor of the Dawn newspaper. "There will be thoughtsswirling in his mind, whether he can forge a workingrelationship with two parties whose leadership he kept out ofthe country."
Bhutto spent eight years in self-exile to avoid corruptioncharges she denied. Sharif was exiled a year after Musharrafousted him in 1999. Both returned late last year.
Sharif was barred from the election because of pastcriminal convictions he says were politically motivated.
The election was relatively peaceful after a bloodycampaign and opposition fears of rampant rigging by Musharraf'ssupporters proved unfounded.
COALITION QUESTIONS
The PPP, led by Bhutto's widower, Asif Ali Zardari, hadbeen expected to reap a sympathy vote, while Sharif's party isdoing surprisingly well despite a mixed record as primeminister, when he clashed with the judiciary.
His defiance of old foe Musharraf and support for thejudges he purged had paid off, analysts said.
A victory for Sharif, who has repeatedly called forMusharraf's removal, or the inclusion of his party in acoalition with the PPP would be disastrous for the president.
Some analysts said differences between the PPP and Sharifand his brother Shahbaz Sharif made a coalition doubtful.
A secular ethnic Pashtun nationalist party was winning inNorth West Frontier Province, beating Islamists who won in2002.
Fear appeared to have kept many people from the polls. Anelection watchdog group put turnout at 35 percent. At least 20people were killed in election violence, including, Zardarisaid, 15 PPP activists.
(To read more about the Pakistan election, double-click on;and visit the Reuters blog "Pakistan: Now or Never?" athttp://blogs.reuters.com/pakistan/)
(Additional reporting by Zeeshan Haider, Faisal Aziz andSahar Ahmed in Karachi; Editing by Alex Richardson)