Pakistani parties to share power
Nawaz Sharif and Asif Ali Zardari were winners in February's elections
The leaders of the two parties that won Pakistan's elections have signed an agreement on a coalition government.
February's parliamentary elections delivered a crushing defeat to parties loyal to President Pervez Musharraf.
Mr Musharraf has urged the incoming government to leave politics aside and concentrate on good governance.
(hehe mush asks political parties to leave politics lolz... he is mad another proof... he can do politics in army uniform n the parties with mandate should not :D)
Mr Sharif has consistently called for the president to step down in the wake of the elections, which were regarded as a key step in Pakistan's transition from military to civilian rule.
The BBC's Barbara Plett, in Islamabad, says the deal will be seen as a further blow to Mr Musharraf who will face a parliament dominated by his adversaries.
Two issues had dominated the talks: The PML(N) party's insistence that judges sacked by Mr Musharraf in November be reinstated, and the PPP's desire for Mr Sharif's party to formally sign up to the cabinet.
Mr Zardari and Mr Sharif told a news conference that both matters had been settled.
All the sacked judges will be reinstated via a parliamentary resolution passed within 30 days of forming a new government.
That appears to mean that the chief justice will get back his job, in defiance of Mr Musharraf's strong objections, our correspondent says.
In return Nawaz Sharif has agreed that his party will join the cabinet - even though he does not recognise the president's right to rule.
PML-N is respecting the mandate it got from people...