General Pervez Musharraf won re-election as Pakistan's president on Saturday in a vote in the country's parliament and four provincial assemblies, but will have to wait for a Supreme Court ruling to learn whether his bid was constitutional.
Musharraf won by a landslide, with the opposition boycotting the vote, but can only be declared a winner if the court decides later this month that his standing for re-election while still army chief was strictly legal.
He has previously said he would only step down from the army if re-elected.
With the parliament's term ending next month and elections scheduled for early next year, Musharraf has made several steps towards reconciliation with former PM Benazir Bhutto, dropping corruption charges against her in what is seen as a prelude for a power-sharing agreement.
MPs from Bhutto's party abstained from voting on Saturday.
Another former PM, Nawaz Sharif, who was deposed by Musharraf's bloodless coup in 1999, has been thwarted in his attempt to return to the country.