General Pervez Musharraf finally quit as Pakistan army chief yesterday, trading the post for a second five-year term as president and fulfilling a promise many Pakistanis doubted he would keep.

He passed the baton of command to his hand-picked successor, General Ashfaq Kayani, at a ceremony at army headquarters in Rawalpindi.

General Musharraf, who took power in a 1999 coup, is to be sworn in as civilian president today, having relinquished his position in the one institution that guaranteed his power.

"The system continues, people come and go, everyone has to go, every good thing comes to an end, everything is mortal," a tearful Musharraf told top brass and government leaders at the change-of-command ceremony.

The opposition parties of ex-prime ministers Benazir Bhutto and Nawaz Sharif welcomed the resignation. They are both mulling their participation in a January 8 general election they say can't be fair under emergency rule that Musharraf imposed on November 3.

"It is a pleasant moment in the history of Pakistan. Now our army will get a full-time general as its leader," Mrs Bhutto told reporters in Karachi.

General Musharraf's power and influence in the nuclear-armed country, which is key to the US campaign against al Qaeda and its strategy in neighbouring Afghanistan, are bound to be diminished. The question is by how much.

"Naturally, the support of the army, that's what has been vital," said a former army commander, Mirza Aslam Beg, who declined to take power when President Mohammad Zia-ul-Haq was killed in a 1988 plane crash.

Mr Beg said he expected significant changes, beginning with more aggressive opposition demands to end emergency rule. Mr Musharraf is due to address the nation today and he could use the occasion to end the emergency.

US President George W. Bush, who had been urging General Musharraf to resign as military chief, was pleased by the move.

"The President certainly considers that to be a good step," White House press secretary Dana Perino said. "President Musharraf followed through on his commitment to remove the uniform. It was significant for him."

Dana Perino repeated the White House's call for Mr Musharraf to end emergency rule in Pakistan.

Government officials said Mr Musharraf's resignation would have no impact on efforts to combat terrorism.

Pakistani stock investors also welcomed the resignation as a step toward stability. The major share index ended 0.63 per cent up, boosted by talk the emergency was about to be lifted.

It has been a messy transition.

Mr Musharraf had assured Washington that everything would be done according to the constitution, which obliged him to quit the army before the end of the year.

The trouble was he had to suspend the constitution, declare emergency powers and purge the Supreme Court to make it happen.

Otherwise the judges might have annulled his October 6 re-election by the outgoing parliament on the grounds that he contested it while still a serving officer.

How long he will be president will depend on the parliament that emerges from elections, particularly as Mrs Bhutto and Mr Sharif, whom General Musharraf ousted in 1999, have been allowed back.

Mr Musharraf will need support in what analysts expect to be a hung parliament. He could face impeachment over maneuvers to stay in power, which rivals say violated the constitution.

Ordinary Pakistanis welcomed Mr Musharraf's departure from the army and some said it was time he left politics too.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.