ISLAMABAD - Pakistan's government relented in a major confrontation with the opposition Monday, agreeing to reinstate a fired Supreme Court chief justice whose fate had sparked street fights and raised fears of political instability.
In a reminder of the threat from Islamist militants briefly obscured by the crisis, a suicide bomber killed nine people near the capital and gunmen burned vehicles meant for U.S. and NATO troops in Afghanistan.
The dawn announcement by the prime minister that Iftikhar Mohammed Chaudhry would be sworn back in on March 21 as Pakistan's top judge capped a weekend of high drama and led activist lawyers and opposition politicians to drop plans to march on the capital and stage a sit-in at Parliament later in the day.
The U.S. said the decision "brought Pakistan back from the brink."
But it also was a significant concession that showed the weakness of U.S.-allied President Asif Ali Zardari, who had long refused to restore the independent-minded Chaudhry despite demands by lawyers and opposition leader Nawaz Sharif.
Already, attempts to quell the protest movement -- through arrests and bans on rallies -- have exposed cracks in the ruling party.
Prime Minister Yousuf Raza Gilani's announcement also promised the restoration of a handful of other judges who had remained off the bench since former president Pervez Musharraf sacked them in 2007. He further ordered the release of activists arrested over the past week and appealed for political reconciliation in Pakistan, a nuclear-armed country that also faces an economic crisis.
Those arrests and other moves to block the protests -- which led to clashes over the weekend -- echoed Musharraf's responses to the lawyers' back in 2007.
Jubilant supporters waved flags and cheered outside Chaudhry's Islamabad home, and the grinning jurist briefly made an appearance on the balcony. Activists said the decision was a triumph for democracy, and the stock market rallied in the morning.
"No country can progress without an independent judiciary and the government -- by restoring the chief justice and other judges -- has also realized it, and we think it is a big success," said Ali Ahmad Kurd, a leader of the protesting lawyers.
The concession came as thousands of protesters led by Sharif, a former prime minister and the head of the largest opposition party, were travelling to Islamabad to join the planned sit-in. Sharif joined the convoy after ignoring a house arrest order in his hometown of Lahore in Punjab province, where his supporters fought police.
Sharif thanked Zardari and Gilani after the announcement, but signalled his seemingly strengthened position by focusing on the future.
"From here, God willing, the fate of this nation will change," Sharif said, speaking from inside his jeep in Gujranwala as supporters mobbed it. "From here, a journey of development will start. From here, a revolution will come."
Musharraf fired Chaudhry in 2007 after he took up cases challenging his rule, sparking a wave of protests that helped force the military ruler from office in 2008. Overall, Musharraf sacked some 60 judges. Most have already been reinstated.
Zardari pledged to restore Chaudhry within 30 days of his party forming a government in the spring of 2008. But he reneged, apparently fearing Chaudhry might examine a deal that gave Zardari and his wife, slain former prime minister Benazir Bhutto, immunity from prosecution over alleged corruption.
Zardari aide Farahnaz Ispahani said Monday the president and prime minister "recognized the mood of the people" and "agreed that it was in the country's best interest for stability" to restore Chaudhry.
She said the matter had languished because the government had more pressing concerns -- including reviving the economy and tackling the terror threat.
Sharif initially entered into a coalition government with Zardari's party but switched to the opposition over the judges' issue.
Last month, the Supreme Court ruled that Sharif and his brother Shahbaz were ineligible for elected office. Zardari then dismissed the government led by Shahbaz in Punjab, the most powerful Pakistani province.
A furious Sharif accused Zardari of a power grab and urged his supporters to join lawyers and other activists planning to march on the capital, re-energizing what had been a limping movement.
The Zardari-Sharif showdown raised the prospect of a military intervention in a country prone to military coups.
Western capitals were concerned the crisis was distracting Pakistan from its fight against Taliban and al-Qaida militants operating along the Afghan border.
U.S. Secretary of State Hillary Clinton had urged Zardari and Sharif to strike a deal during telephone calls over the weekend, but made "no threats at all," State Department spokesman Robert Wood said.
The chief justice's reinstatement "brought Pakistan back from the brink," Wood told reporters Monday.